##// END OF EJS Templates
Speed up post hiding, do not load the hidden posts list for each post being processed
Speed up post hiding, do not load the hidden posts list for each post being processed

File last commit:

r1994:50a3510f default
r2082:47f758c2 default
Show More
authors.py
40 lines | 1.1 KiB | 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: ['tenno-seremel@vivaldi.net'],
ATTR_ROLES: [ROLE_JS_DEV, ROLE_DESIGNER],
},
'bodqhrohro': {
ATTR_NAME: 'Bohdan Horbeshko',
ATTR_CONTACTS: ['bodqhrohro@gmail.com'],
ATTR_ROLES: [ROLE_DEVELOPER],
},
}