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 | 88546436f8eeea52461456f5f46736900f652a93 (patch) | |
tree | 9a058ead8859b9229c6e44f1d17385477903c571 /ishtar_common/models.py | |
parent | 9f4fb05ea2650936a3c913205ad073a385cd9260 (diff) | |
download | Ishtar-88546436f8eeea52461456f5f46736900f652a93.tar.bz2 Ishtar-88546436f8eeea52461456f5f46736900f652a93.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( |