My mistake then, sorry about that!
Le 17 août 2012 10:34, "Tom Evans" <tevans...@googlemail.com> a écrit :

> On Fri, Aug 17, 2012 at 9:12 AM, Thomas Orozco
> <g.orozco.tho...@gmail.com> wrote:
> > Session key is the session 's primary key. Not the session itself.
> >
> > What you want to assign to your field is a session, not its key. So use
> > request.session.
> >
>
> This would not work; request.session is a
> django.contrib.sessions.backends,SessionBase subclass, and not a model
> instance.
>
> You would need to use the advice Amyth gave you.
>
> Cheers
>
> Tom
>
> --
> 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.
>
>

-- 
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.

Reply via email to