X-Git-Url: http://gitweb.fperrin.net/?p=djsite.git;a=blobdiff_plain;f=djsite%2Fsettings_common.py;fp=djsite%2Fsettings_common.py;h=bf7d3f79e0f97f9b610aa718c246226d691b0259;hp=6eed00b5bb133fd6ee78a3a8a47d51314d8087b9;hb=a842896b4da7101ab117838c7ee90be268dda85b;hpb=6d29db35c714fe52854a5b2e4002403150da1954 diff --git a/djsite/settings_common.py b/djsite/settings_common.py index 6eed00b..bf7d3f7 100644 --- a/djsite/settings_common.py +++ b/djsite/settings_common.py @@ -15,7 +15,6 @@ import os BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) - # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/ @@ -79,7 +78,7 @@ WSGI_APPLICATION = 'djsite.wsgi.application' # Internationalization # https://docs.djangoproject.com/en/1.8/topics/i18n/ -LANGUAGE_CODE = 'en-us' +LANGUAGE_CODE = 'en-GB' TIME_ZONE = 'Europe/London' @@ -89,6 +88,11 @@ USE_L10N = True USE_TZ = True +# DATE_INPUT_FORMATS = [ +# "%d/%m/%Y", # 12/11/2016 for 12th Nov 2016 +# "%Y-%m-%d", # 2016-11-12 for 12th Nov 2016 +# ] + # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/1.8/howto/static-files/ # STATIC_URL overridden in settings-{dev,prod}.py