On Sunday, 11 September 2011 00:18:28 UTC+1, Kurtis wrote:
>
> Hey Guys, 
>
> I have a very simple stub of a project. I'm trying to do something 
> that should be very simple but isn't as easy as I hoped. 
>
> I have a UserProfile class. This object is basically just an extension 
> of the standard User Class. Within my UserProfile class, I want to 
> have a list of PublicProfile foreign keys. PublicProfile itself is an 
> abstract class with multiple classes extending it. For example, a User 
> can create an ArtistProfile, a BandProfile, etc... 
>
> To give you a sense of what I'm trying to accomplish from a user's 
> perspective: A user can sign up and create multiple Pages (represented 
> as PublicProfile) for bands, artists, etc... 
>
>

Sounds like you want [generic 
relations](https://docs.djangoproject.com/en/1.3/ref/contrib/contenttypes/#generic-relations).
--
DR. 

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