Just make your models for the customer and seller profiles, and attach
them to users with a OneToOne field. You can only specify one to be used
with User.get_profile(), but I've learned from discussions among core
developers that get_profile() is something many consider useless. It's
even been proposed to remove it entirely.
If you're writing code that needs to use fields in your customer and
seller profile models then you're obviously going to have to know which
you're using, so there's no benefit to abstracting the
user.seller_profile.get() to user.get_profile(), and it makes the intent
less obvious.
--
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.