##// END OF EJS Templates
Added signatures to the GET response. Added a view to get a full post response for one post. Don't show post key as it is present in the XML post view. Changed key display format
Added signatures to the GET response. Added a view to get a full post response for one post. Don't show post key as it is present in the XML post view. Changed key display format

File last commit:

r721:1814d7a8 default
r837:fbeaaa16 decentral
Show More
authors.py
34 lines | 924 B | text/x-python | PythonLexer
__author__ = 'neko259'
from django.utils.translation import ugettext_lazy as _
ATTR_ROLES = 'roles'
ATTR_CONTACTS = 'contacts'
ATTR_NAME = 'name'
ROLE_AUTHOR = _('author')
ROLE_DEVELOPER = _('developer')
ROLE_JS_DEV = _('javascript developer')
ROLE_DESIGNER = _('designer')
authors = {
'neko259': {
ATTR_NAME: 'Pavel Ryapolov',
ATTR_CONTACTS: ['neko259@gmail.com'],
ATTR_ROLES: [ROLE_AUTHOR, ROLE_DEVELOPER],
},
'ilyas': {
ATTR_NAME: 'Ilyas Babayev',
ATTR_CONTACTS: ['zamesilyasa@gmail.com'],
ATTR_ROLES: [ROLE_AUTHOR, ROLE_DEVELOPER],
},
'ritsufag': {
ATTR_NAME: 'Aiko Kirino',
ATTR_CONTACTS: ['ritsufag@gmail.com'],
ATTR_ROLES: [ROLE_JS_DEV, ROLE_DESIGNER],
},
'Tenno Seremel': {
ATTR_NAME: 'anonymous',
ATTR_CONTACTS: ['html@serenareem.net'],
ATTR_ROLES: [ROLE_JS_DEV, ROLE_DESIGNER],
},
}