From c1d13d2802e068eb2d7570c679b7704b461eaff4 Mon Sep 17 00:00:00 2001 From: Arona Date: Wed, 27 May 2020 17:57:31 +0200 Subject: [PATCH] TEST: Disallow %H:%M:%S input format --- PyRIGS/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyRIGS/settings.py b/PyRIGS/settings.py index 411569ac..4c86fc93 100644 --- a/PyRIGS/settings.py +++ b/PyRIGS/settings.py @@ -206,7 +206,7 @@ USE_L10N = True USE_TZ = True -DATETIME_INPUT_FORMATS = ('%Y-%m-%dT%H:%M', '%Y-%m-%dT%H:%M:%S') +DATETIME_INPUT_FORMATS = ('%Y-%m-%dT%H:%M')#, '%Y-%m-%dT%H:%M:%S') # Static files (CSS, JavaScript, Images) STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'