KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is there a way to extend the built-in Django Group object to add additional attributes similar to the way you can extend a user object? With a user object, you can do the following: class UserProfile(models.Model): user = models.OneToOneField(User) and add the following to the settings.py file AUTH_PROFILE_MODULE = 'app.UserProfile' which gets you: profile = User.objects.get(id=1).get_profile() Is there any equivalent to this approach for extending a group? If not, is there an alternative approach I can take?
Tags (comma-separated)
Save Edits
Cancel