Well, unfortunately the standard Anonymous User ID is always none. (source:
https://docs.djangoproject.com/en/dev/topics/auth/#anonymous-users)

So, you can't really use their ID as a foreign key.

However, I'm having trouble picturing your use-case here. If you could give
some more information on what you're trying to accomplish, maybe we can
shoot some ideas your way.

On Tue, Jun 12, 2012 at 4:00 AM, Raitucarp
<ribhararnus.pracut...@gmail.com>wrote:

> How to use anonymoususer as foreignkey?
>
> I need anonymoususer, anonymous user is my main features of my app. Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/Ckm4xHhFTUcJ.
> 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