mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
Merge pull request #158 from martinblech/atomic-requests
Added ATOMIC_REQUESTS=True to default DB setup
This commit is contained in:
commit
ec3a480595
|
@ -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 New Issue
Block a user