mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-10 13:44:43 +00:00
Merge pull request #158 from martinblech/atomic-requests
Added ATOMIC_REQUESTS=True to default DB setup
This commit is contained in:
commit
ec3a480595
1 changed files with 4 additions and 0 deletions
|
|
@ -264,4 +264,8 @@ class Common(Configuration):
|
|||
}
|
||||
# END LOGGING CONFIGURATION
|
||||
|
||||
@classmethod
|
||||
def post_setup(cls):
|
||||
cls.DATABASES['default']['ATOMIC_REQUESTS'] = True
|
||||
|
||||
# Your common stuff: Below this line define 3rd party library settings
|
||||
|
|
|
|||
Loading…
Reference in a new issue