Remove not used TYPE_NAME, TYPE_NAME_SHORT and TYPE_NAME_PLURAL consts in all Group models.
Patch by: Pawel Solyga
--- a/app/soc/models/club.py Mon Dec 15 00:21:26 2008 +0000
+++ b/app/soc/models/club.py Mon Dec 15 00:22:50 2008 +0000
@@ -38,10 +38,5 @@
relation is implemented as the 'members' back-reference Query of the
Member model 'club' reference.
"""
-
- #: Type name used in templates
- TYPE_NAME = ugettext_lazy('Club')
- #: Type short name used for example in urls
- TYPE_NAME_SHORT = 'club'
- #: Type plural name used in templates
- TYPE_NAME_PLURAL = ugettext_lazy('Clubs')
\ No newline at end of file
+
+ pass
\ No newline at end of file
--- a/app/soc/models/organization.py Mon Dec 15 00:21:26 2008 +0000
+++ b/app/soc/models/organization.py Mon Dec 15 00:22:50 2008 +0000
@@ -37,10 +37,5 @@
'reviewers' back-reference Query of the Organization model 'org'
reference.
"""
-
- #: Type name used in templates
- TYPE_NAME = ugettext_lazy('Organization')
- #: Type short name used for example in urls
- TYPE_NAME_SHORT = 'org'
- #: Type plural name used in templates
- TYPE_NAME_PLURAL = ugettext_lazy('Organizations')
+
+ pass
--- a/app/soc/models/school.py Mon Dec 15 00:21:26 2008 +0000
+++ b/app/soc/models/school.py Mon Dec 15 00:22:50 2008 +0000
@@ -39,9 +39,4 @@
back-reference Query of the Student model 'school' reference.
"""
- #: Type name used in templates
- TYPE_NAME = ugettext_lazy('School')
- #: Type short name used for example in urls
- TYPE_NAME_SHORT = 'school'
- #: Type plural name used in templates
- TYPE_NAME_PLURAL = ugettext_lazy('Schools')
\ No newline at end of file
+ pass
\ No newline at end of file
--- a/app/soc/models/sponsor.py Mon Dec 15 00:21:26 2008 +0000
+++ b/app/soc/models/sponsor.py Mon Dec 15 00:22:50 2008 +0000
@@ -29,10 +29,5 @@
class Sponsor(soc.models.group.Group):
"""Sponsor details."""
- #: Type name used in templates
- TYPE_NAME = ugettext_lazy('Sponsor')
- #: Type short name used for example in urls
- TYPE_NAME_SHORT = 'sponsor'
- #: Type plural name used in templates
- TYPE_NAME_PLURAL = ugettext_lazy('Sponsors')
+ pass