Skip to content

Commit

Permalink
Remove the cache dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Jul 4, 2024
1 parent 85dc6c3 commit ba46e25
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from django.utils.translation import gettext_lazy as _
from speckenv import env
from speckenv_django import (
django_cache_url,
django_database_url,
django_email_url,
django_storage_url,
Expand All @@ -31,7 +30,6 @@
SERVER_EMAIL = DEFAULT_FROM_EMAIL = "no-reply@feinheit.ch"

DATABASES = {"default": django_database_url(env("DATABASE_URL", required=True))}
CACHES = {"default": django_cache_url(env("CACHE_URL", required=True))}
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"

SECRET_KEY = env("SECRET_KEY", required=True)
Expand Down
1 change: 0 additions & 1 deletion conf/_env
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Only used for building
DEBUG=False
DATABASE_URL=postgres://localhost:5432/postgres
CACHE_URL=hiredis://localhost:6379/1/
SECRET_KEY=unsafe
ALLOWED_HOSTS=["*", ".localhost"]
2 changes: 0 additions & 2 deletions requirements-to-freeze.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ django-debug-toolbar
django-ratelimit
django>=5.1b1
granian
hiredis
polib
psycopg[binary]
redis
sentry-sdk
speckenv
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ django-canonical-domain==0.9.2
django-debug-toolbar==4.4.2
django-ratelimit==4.1.0
granian==1.4.4
hiredis==2.3.2
idna==3.7
oauthlib==3.2.2
polib==1.2.0
psycopg==3.2.1
psycopg-binary==3.2.1
redis==5.1.0b7
requests==2.32.3
requests-oauthlib==2.0.0
sentry-sdk==2.7.1
Expand Down

0 comments on commit ba46e25

Please sign in to comment.