diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-08-31 16:03:12 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-08-31 16:03:38 +0200 |
commit | 483aec19a29c69f544e27b6fb60966ca48b4f016 (patch) | |
tree | 9a058ead8859b9229c6e44f1d17385477903c571 /ishtar_common/models.py | |
parent | 2098d66880049b33f12b33e88f09942ed8434860 (diff) | |
download | Ishtar-483aec19a29c69f544e27b6fb60966ca48b4f016.tar.bz2 Ishtar-483aec19a29c69f544e27b6fb60966ca48b4f016.zip |
Admin: profile type summary page
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 8096bf6ba..4f1168d39 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2998,6 +2998,13 @@ post_save.connect(post_save_cache, sender=ProfileType) post_delete.connect(post_save_cache, sender=ProfileType) +class ProfileTypeSummary(ProfileType): + class Meta: + proxy = True + verbose_name = _(u"Profile type summary") + verbose_name_plural = _(u"Profile types summary") + + class UserProfile(models.Model): name = models.CharField(_(u"Name"), blank=True, default=u"", max_length=100) profile_type = models.ForeignKey( |