Validate URLs before adding

This commit is contained in:
Joakim Hellsén 2024-01-30 22:40:41 +01:00
commit c41780fca0
12 changed files with 386 additions and 16 deletions

View file

@ -189,3 +189,25 @@ else:
"BACKEND": "django.core.cache.backends.dummy.DummyCache",
},
}
LOGGING = {
"version": 1,
"disable_existing_loggers": False,
"handlers": {
"console": {
"class": "logging.StreamHandler",
},
},
"root": {
"handlers": ["console"],
"level": "DEBUG",
},
"loggers": {
"django": {
"handlers": ["console"],
"level": os.getenv("DJANGO_LOG_LEVEL", "INFO"),
"propagate": False,
},
},
}