##// END OF EJS Templates
Optimized one query, removed debug code from settings so that it is run only...
Optimized one query, removed debug code from settings so that it is run only in debug mode

File last commit:

r211:5a120222 default
r472:df52a056 default
Show More
authors.py
30 lines | 820 B | text/x-python | PythonLexer
neko259
Added localizations to forms. Do not allow users without session to post.
r211 from django.utils.translation import ugettext_lazy as _
neko259
Added authors page. This fixes #22
r103 __author__ = 'neko259'
neko259
Added localizations to forms. Do not allow users without session to post.
r211 ROLE_AUTHOR = _('author')
ROLE_DEVELOPER = _('developer')
ROLE_JS_DEV = _('javascript developer')
ROLE_DESIGNER = _('designer')
neko259
Added authors page. This fixes #22
r103 authors = {
'neko259': {
'name': 'Pavel Ryapolov',
'contacts': ['neko259@gmail.com'],
neko259
Added localizations to forms. Do not allow users without session to post.
r211 'roles': [ROLE_AUTHOR, ROLE_DEVELOPER],
neko259
Added authors page. This fixes #22
r103 },
'ilyas': {
'name': 'Ilyas Babayev',
'contacts': ['zamesilyasa@gmail.com'],
neko259
Added localizations to forms. Do not allow users without session to post.
r211 'roles': [ROLE_AUTHOR, ROLE_DEVELOPER],
neko259
Added refmaps for the threads list.
r125 },
'ritsufag': {
'name': 'Aiko Kirino',
'contacts': ['ritsufag@gmail.com'],
neko259
Added localizations to forms. Do not allow users without session to post.
r211 'roles': [ROLE_JS_DEV, ROLE_DESIGNER],
neko259
Added refmaps for the threads list.
r125 },
'Tenno Seremel': {
'name': 'anonymous',
'contacts': ['html@serenareem.net'],
neko259
Added localizations to forms. Do not allow users without session to post.
r211 'roles': [ROLE_JS_DEV, ROLE_DESIGNER],
neko259
Added refmaps for the threads list.
r125 },
neko259
Added authors page. This fixes #22
r103 }