regluit/core/parameters.py

31 lines
989 B
Python
Raw Normal View History

2014-01-03 19:15:26 +00:00
(REWARDS, BUY2UNGLUE, THANKS) = (1, 2, 3)
2014-02-20 03:18:23 +00:00
(INDIVIDUAL, LIBRARY, BORROWED, RESERVE, THANKED) = (1, 2, 3, 4, 5)
TESTING = 0
2016-07-30 06:36:01 +00:00
OFFER_CHOICES = ((INDIVIDUAL,'Individual license'),(LIBRARY,'Library License'))
2016-08-05 19:53:29 +00:00
ACQ_CHOICES = ((INDIVIDUAL,'Individual license'),(LIBRARY,'Library License'),(BORROWED,'Borrowed from Library'), (TESTING,'Just for Testing'), (RESERVE,'On Reserve'),(THANKED,'Already Thanked'),)
AGE_LEVEL_CHOICES = (
('', 'No Rating'),
('5-6', 'Children\'s - Kindergarten, Age 5-6'),
('6-7', 'Children\'s - Grade 1-2, Age 6-7'),
('7-8', 'Children\'s - Grade 2-3, Age 7-8'),
('8-9', 'Children\'s - Grade 3-4, Age 8-9'),
('9-11', 'Children\'s - Grade 4-6, Age 9-11'),
('12-14', 'Teen - Grade 7-9, Age 12-14'),
('15-18', 'Teen - Grade 10-12, Age 15-18'),
('18-', 'Adult/Advanced Reader')
)
2016-08-15 22:28:39 +00:00
TEXT_RELATION_CHOICES = (
('translation', 'translation'),
('revision', 'revision'),
('sequel', 'sequel'),
('compilation', 'compilation')
)
2016-08-05 19:53:29 +00:00