diff options
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( |