On za, 2009-11-14 at 15:53 -0800, TiNo wrote:

> In my apps, Users of the app participate in a certain Year. I would
> like a Year to continue a ManyToOne relationship with a User. As
> creating a ForeignKey on a User is not possible, what would be the
> best way to do this? I don't need a full-blown profile for a user,
> just this connection with a year.

Creating a ForeignKey to django.contrib.auth.models.User is definitely
possible.

-- 
Dennis K.

The universe tends towards maximum irony. Don't push it.

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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=.


Reply via email to