Skip to content
Snippets Groups Projects
Verified Commit 88092322 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fix #110: completely removed django cachalot

parent 55a93c71
No related branches found
No related tags found
No related merge requests found
API_AUTHENTICATION_REQUIRED=True API_AUTHENTICATION_REQUIRED=True
CACHALOT_ENABLED=False
RAVEN_ENABLED=false RAVEN_ENABLED=false
RAVEN_DSN=https://44332e9fdd3d42879c7d35bf8562c6a4:0062dc16a22b41679cd5765e5342f716@sentry.eliotberriot.com/5 RAVEN_DSN=https://44332e9fdd3d42879c7d35bf8562c6a4:0062dc16a22b41679cd5765e5342f716@sentry.eliotberriot.com/5
...@@ -55,7 +55,6 @@ THIRD_PARTY_APPS = ( ...@@ -55,7 +55,6 @@ THIRD_PARTY_APPS = (
'rest_framework', 'rest_framework',
'rest_framework.authtoken', 'rest_framework.authtoken',
'taggit', 'taggit',
'cachalot',
'rest_auth', 'rest_auth',
'rest_auth.registration', 'rest_auth.registration',
'mptt', 'mptt',
...@@ -371,9 +370,6 @@ MUSICBRAINZ_CACHE_DURATION = env.int( ...@@ -371,9 +370,6 @@ MUSICBRAINZ_CACHE_DURATION = env.int(
default=300 default=300
) )
CACHALOT_ENABLED = env.bool('CACHALOT_ENABLED', default=True)
# Custom Admin URL, use {% url 'admin:index' %} # Custom Admin URL, use {% url 'admin:index' %}
ADMIN_URL = env('DJANGO_ADMIN_URL', default='^api/admin/') ADMIN_URL = env('DJANGO_ADMIN_URL', default='^api/admin/')
CSRF_USE_SESSIONS = True CSRF_USE_SESSIONS = True
...@@ -50,9 +50,6 @@ mutagen>=1.39,<1.40 ...@@ -50,9 +50,6 @@ mutagen>=1.39,<1.40
django-taggit>=0.22,<0.23 django-taggit>=0.22,<0.23
# Until this is merged # Until this is merged
git+https://github.com/EliotBerriot/PyMemoize.git@django git+https://github.com/EliotBerriot/PyMemoize.git@django
# Until this is merged
#django-cachalot==1.5.0
git+https://github.com/EliotBerriot/django-cachalot.git@django-2
django-dynamic-preferences>=1.5,<1.6 django-dynamic-preferences>=1.5,<1.6
pyacoustid>=1.1.5,<1.2 pyacoustid>=1.1.5,<1.2
......
Completely removed django-cachalot from the codebase (#110). You can safely remove the CACHALOT_ENABLED setting from your .env file
...@@ -84,6 +84,3 @@ API_AUTHENTICATION_REQUIRED=True ...@@ -84,6 +84,3 @@ API_AUTHENTICATION_REQUIRED=True
# This will help us detect and correct bugs # This will help us detect and correct bugs
RAVEN_ENABLED=false RAVEN_ENABLED=false
RAVEN_DSN=https://44332e9fdd3d42879c7d35bf8562c6a4:0062dc16a22b41679cd5765e5342f716@sentry.eliotberriot.com/5 RAVEN_DSN=https://44332e9fdd3d42879c7d35bf8562c6a4:0062dc16a22b41679cd5765e5342f716@sentry.eliotberriot.com/5
# This setting will soon become useless
CACHALOT_ENABLED=False
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment