Changes required for Django > 4

This commit is contained in:
Oliver Falk
2022-11-22 19:38:08 +01:00
parent e68c75d74d
commit 9565ccc54e
9 changed files with 163 additions and 83 deletions

View File

@@ -191,7 +191,7 @@ MESSAGE_TAGS = {
CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
"BACKEND": "django.core.cache.backends.memcached.PyMemcacheCache",
"LOCATION": [
"127.0.0.1:11211",
],
@@ -238,9 +238,7 @@ TRUSTED_DEFAULT_URLS = [
"path_prefix": "/static/img/",
},
{
"schemes": [
"http",
],
"schemes": ["http"],
"host_equals": "www.planet-libre.org",
"path_prefix": "/themes/planetlibre/images/",
},