mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-23 01:57:03 +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
|
# 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
|
# Your common stuff: Below this line define 3rd party library settings
|
||||||
|
|
Loading…
Reference in New Issue
Block a user