# HG changeset patch # User Pawel Solyga # Date 1229300570 0 # Node ID ed3b545a9c147a224d2dac54f8c82a273da7ce0c # Parent cd9bf163473c5dd98600c97e26b7b4affb754b6c Remove not used TYPE_NAME, TYPE_NAME_SHORT and TYPE_NAME_PLURAL consts in all Group models. Patch by: Pawel Solyga diff -r cd9bf163473c -r ed3b545a9c14 app/soc/models/club.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 diff -r cd9bf163473c -r ed3b545a9c14 app/soc/models/organization.py --- 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 diff -r cd9bf163473c -r ed3b545a9c14 app/soc/models/school.py --- 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 diff -r cd9bf163473c -r ed3b545a9c14 app/soc/models/sponsor.py --- 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