##// END OF EJS Templates
Updated 'list' sample response
Updated 'list' sample response

File last commit:

r721:1814d7a8 default
r1576:df109e7c default
Show More
authors.py
34 lines | 924 B | text/x-python | PythonLexer
neko259
Small code cleanups
r721 __author__ = 'neko259'
neko259
Added localizations to forms. Do not allow users without session to post.
r211 from django.utils.translation import ugettext_lazy as _
neko259
Small code cleanups
r721 ATTR_ROLES = 'roles'
ATTR_CONTACTS = 'contacts'
ATTR_NAME = 'name'
neko259
Added authors page. This fixes #22
r103
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': {
neko259
Small code cleanups
r721 ATTR_NAME: 'Pavel Ryapolov',
ATTR_CONTACTS: ['neko259@gmail.com'],
ATTR_ROLES: [ROLE_AUTHOR, ROLE_DEVELOPER],
neko259
Added authors page. This fixes #22
r103 },
'ilyas': {
neko259
Small code cleanups
r721 ATTR_NAME: 'Ilyas Babayev',
ATTR_CONTACTS: ['zamesilyasa@gmail.com'],
ATTR_ROLES: [ROLE_AUTHOR, ROLE_DEVELOPER],
neko259
Added refmaps for the threads list.
r125 },
'ritsufag': {
neko259
Small code cleanups
r721 ATTR_NAME: 'Aiko Kirino',
ATTR_CONTACTS: ['ritsufag@gmail.com'],
ATTR_ROLES: [ROLE_JS_DEV, ROLE_DESIGNER],
neko259
Added refmaps for the threads list.
r125 },
'Tenno Seremel': {
neko259
Small code cleanups
r721 ATTR_NAME: 'anonymous',
ATTR_CONTACTS: ['html@serenareem.net'],
ATTR_ROLES: [ROLE_JS_DEV, ROLE_DESIGNER],
neko259
Added refmaps for the threads list.
r125 },
neko259
Added authors page. This fixes #22
r103 }