##// END OF EJS Templates
Added banner to show the site news. Returned the message middleware because it...
Added banner to show the site news. Returned the message middleware because it is required to add models over admin site

File last commit:

r721:1814d7a8 default
r1148:94091a42 default
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],
},
}