Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions infra/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,3 @@ export SQS_QUEUE_NAME='default-queue'
# export MAILCHIMP_API_KEY=''
# export MAILCHIMP_LIST_ID=''
# export MAILCHIMP_DC=''

# If you are updating a template, you'll need to clear the cache every time or set:
# export DISABLE_CACHE=True
18 changes: 5 additions & 13 deletions rcvis/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,20 +282,12 @@

AWS_DEFAULT_ACL = None

if os.environ.get('DISABLE_CACHE') != 'True':
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
'LOCATION': '/tmp/django_rcvis_cache/',
}
}
else:
assert DEBUG
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
}
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
'LOCATION': '/tmp/django_rcvis_cache/',
}
}

REST_FRAMEWORK = {
# Use Django's standard `django.contrib.auth` permissions,
Expand Down
Loading