Remove not used TYPE_NAME, TYPE_NAME_SHORT and TYPE_NAME_PLURAL consts in all Group models.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Mon, 15 Dec 2008 00:22:50 +0000
changeset 745 ed3b545a9c14
parent 744 cd9bf163473c
child 746 018efb9863dc
Remove not used TYPE_NAME, TYPE_NAME_SHORT and TYPE_NAME_PLURAL consts in all Group models. Patch by: Pawel Solyga
app/soc/models/club.py
app/soc/models/organization.py
app/soc/models/school.py
app/soc/models/sponsor.py
--- 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