Commit 52fccb9d2cb5f0bf1283fc00e8794ad824548f24
1 parent
77c6000d
Exists in
master
and in
5 other branches
updated necessary things on settings.py
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
amadeus/settings.py
... | ... | @@ -14,6 +14,8 @@ import os |
14 | 14 | |
15 | 15 | import dj_database_url |
16 | 16 | |
17 | +from django.conf.global_settings import DATETIME_INPUT_FORMATS, DATE_INPUT_FORMATS | |
18 | + | |
17 | 19 | db_from_ev = dj_database_url.config(conn_max_age=500) |
18 | 20 | |
19 | 21 | |
... | ... | @@ -226,6 +228,10 @@ OAUTH2_PROVIDER = { |
226 | 228 | #API CONFIG ENDS |
227 | 229 | |
228 | 230 | |
231 | +#For date purposes | |
232 | +DATETIME_INPUT_FORMATS.append('%d/%m/%y') | |
233 | +DATE_INPUT_FORMATS.append('%d/%m/%y') | |
234 | + | |
229 | 235 | #s3direct |
230 | 236 | |
231 | 237 | # AWS keys | ... | ... |