mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Always ignore redis in development
This commit is contained in:
@@ -16,4 +16,16 @@ COMPRESS_ENABLED = COMPRESS_OFFLINE = False
|
||||
|
||||
PASSWORD_HASHERS = ['django.contrib.auth.hashers.MD5PasswordHasher']
|
||||
|
||||
# Disable celery
|
||||
CELERY_ALWAYS_EAGER = True
|
||||
HAS_CELERY = False
|
||||
|
||||
# Don't use redis
|
||||
SESSION_ENGINE = "django.contrib.sessions.backends.db"
|
||||
HAS_REDIS = False
|
||||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
||||
'LOCATION': 'unique-snowflake',
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user