Skip to content

Commit

Permalink
fix #404: add ATOMIC_REQUESTS to settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jdungan committed Nov 1, 2016
1 parent ebd6d9e commit 3db5b9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions codesy/settings.py
Expand Up @@ -118,6 +118,8 @@
default="postgres://postgres@localhost:5432/codesy",
cast=dj_database_url.parse)}

DATABASES['default']['ATOMIC_REQUESTS'] = True

# CSP settings

CSP_DEFAULT_SRC = ("'none'",)
Expand Down

0 comments on commit 3db5b9e

Please sign in to comment.