My mistake then, sorry about that!
Le 17 août 2012 10:34, "Tom Evans" <[email protected]> a écrit :

> On Fri, Aug 17, 2012 at 9:12 AM, Thomas Orozco
> <[email protected]> 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 [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.
>
>

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

Reply via email to