##// END OF EJS Templates
Added CSRF protection to settings. Fixed favorite tags switch from different pages
Added CSRF protection to settings. Fixed favorite tags switch from different pages

File last commit:

r721:1814d7a8 default
r1693:807f3415 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],
},
}