# --------------------------------------------------------- LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'formatters': { 'default': { 'format': '%(asctime)s %(levelname)s %(name)s: %(message)s', }, }, 'handlers': { 'console': { 'level': 'INFO', 'class': 'logging.StreamHandler', 'formatter': 'default', } }, 'loggers': { 'django': { 'handlers': ['console'], }, } } ################################################################################ # FOOTER # ################################################################################ # --- BEGIN OF DYNACONF FOOTER --- settings.populate_obj(sys.modules[__name__]) # --- END OF DYNACONF FOOTER ---
}, { "NAME": "django.contrib.auth." "password_validation.NumericPasswordValidator" }, ] # Internationalization # https://docs.djangoproject.com/en/2.2/topics/i18n/ LANGUAGE_CODE = "en-us" TIME_ZONE = "UTC" USE_I18N = True USE_L10N = True USE_TZ = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/2.2/howto/static-files/ STATIC_URL = "/static/" # At the end of your settings.py settings.populate_obj(sys.modules[__name__], ignore=locals()) assert DEBUG is False, DEBUG