-
Notifications
You must be signed in to change notification settings - Fork 0
/
choices.py
executable file
·47 lines (41 loc) · 1.5 KB
/
choices.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
RMB_CURRENCY_IDS=[1,7]
DATETIME='%m-%d-%Y %H:%M' # '09/20/2012 18:16'
DATETIME_SLASH='%m/%d/%Y %H:%M' # '09/20/2012 18:16'
WRITTEN_DATETIME='%A %B %d, %Y, %H:%M' #'Thursday September 20, 2012, 18:16'
#WRITTEN_DATETIME='%c'
#DATE='%m/%d/%Y' #'09/20/2012'
DATE_UK='%d/%m/%Y'
DATE_UK_SLASH=DATE_UK
DATE_UK_DASH='%d-%m-%Y' # '20-09-2012'
FULL_DATE_DASH_YEARFIRST='%Y-%m-%d %H:%M' # '2012-09-20 18:16'
FULL_DATE_DASH_YEARFIRST_DAY='%Y-%m-%d %A %H:%M' # '2012-09-20 Tuesday 18:16'
DATE_SLASH_YEARFIRST='%Y/%m/%d'
SLASH_REV='%Y/%m/%d'
DATE_DASH='%m-%d-%Y' #10-21-2012
DATE_DASH_HOUR='%m-%d-%Y %H:%M' #10-21-2012
DATE_DASH_REV = '%Y-%m-%d' #2012-10-21
DATE_DASH_REV_DAY = '%Y-%m-%d, %a' #2012-10-21, Thu
DATE_DASH_DOW='%m-%d-%Y %a' #10-21-2012 Thursday
DATE_DASH_FULL='%m-%d-%Y %A %H:%M' #10-21-2012 Thursday 4:00
DAY_SECTION = '%A %H:%M'
DASH_REV='%Y-%m-%d'
DASH_REV_DOW = '%Y-%m-%d %A'
DASH_REV_TIME = '%Y-%m-%d %H:%M'
HOUR_MIN='%H:%M'
HOUR_MIN_M='%H:%M %p' #18:16 PM'
HUMANIZE_DATE='%b %d' #Jun 20'
HUMANIZE_DATE_YEAR='%b %d %Y' #Jun 20'
HUMANIZE_DATE_FULL_MONTH = '%B %d' #June 20
HUMANIZE_FULL_DATE='%B %d, %Y' # 'September 20, 2012
HUMANIZE_DW='%B %d, %a' # 'September 20, Thursday
HUMANIZE_FULL_DATETIME=' %B %d %H%p' # September 20 18PM'
MONTH_YEAR='%B %Y' #March 2012
YEAR_MONTH='%Y %B' #2012 March
DATE =DATE_DASH_REV
EXIF_TAKEN_FORMAT='%Y:%m:%d %H:%M:%S'
YES_ICON='<img src="/static/admin/img/icon-yes.gif">'
NO_ICON='<img src="/static/admin/img/icon-no.gif">'
#GENDERS for Person objects
MALE=1
FEMALE=2
ORGANIZATION=3