equal
deleted
inserted
replaced
19 __authors__ = [ |
19 __authors__ = [ |
20 '"Pawel Solyga" <pawel.solyga@gmail.com>', |
20 '"Pawel Solyga" <pawel.solyga@gmail.com>', |
21 ] |
21 ] |
22 |
22 |
23 |
23 |
|
24 from django.utils.translation import ugettext_lazy |
|
25 |
24 from google.appengine.ext import db |
26 from google.appengine.ext import db |
25 |
27 |
26 from soc import models |
28 from soc import models |
27 |
29 |
28 import soc.models.group |
30 import soc.models.group |
38 a specific Organization. This relation is implemented as the |
40 a specific Organization. This relation is implemented as the |
39 'reviewers' back-reference Query of the Organization model 'org' |
41 'reviewers' back-reference Query of the Organization model 'org' |
40 reference. |
42 reference. |
41 """ |
43 """ |
42 |
44 |
43 #: Group type short name used for example in urls |
45 #: Type name used in templates |
44 GROUP_TYPE_SHORT = 'org' |
46 TYPE_NAME = ugettext_lazy('Organization') |
45 #: Group type plural name used in Group templates |
47 #: Type short name used for example in urls |
46 GROUP_TYPE_PLURAL = 'Organizations' |
48 TYPE_NAME_SHORT = 'org' |
|
49 #: Type plural name used in templates |
|
50 TYPE_NAME_PLURAL = ugettext_lazy('Organizations') |