On Fri, Aug 17, 2012 at 1:39 PM, Amyth Arora <aroras.offic...@gmail.com> 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: mkaurkha...@gmail.com 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 django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.