I want to be able to add a property to the group model
This is what I have been trying
from django.contrib.auth.models import Group
class GroupExtensions(Group):
class Meta:
proxy = True
@property
def assigned_property(self):
return 'something'
I want to get this property from the base group model but somehow this doesn't work
group_instance.assigned_property
Where group_instance is an instance of the Group model