Update LowerCaseCharField to subclass proper CharField
[ganeti_webmgr.git] / muddle_users / models.py
blob386301f462f588c8d96dc12c282f53ae43b0d44e
1 from django.contrib.auth.models import Group
2 from django.db import models
5 # Patch Group model to add URL lookup
6 @models.permalink
7 def get_absolute_url(self):
8 return 'group-detail', (), {'id':self.pk}
9 Group.get_absolute_url = get_absolute_url