On Fri, Aug 17, 2012 at 1:39 PM, Amyth Arora <[email protected]> wrote: > I think this is because you are passing it the "Session Key" instead > of the "Session Instance", you need to get the session instance and > then pass it to your function, Something like this: > > profile.sess = Session.objects.get(session_key=request.session.session_key) > Thanks a lot. This worked. :)
-- Sandeep Kaur E-Mail: [email protected] Blog: sandymadaan.wordpress.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

