Skip to content

Commit

Permalink
Add django-transactional-cleanup and configure it
Browse files Browse the repository at this point in the history
  • Loading branch information
jespino committed Jan 14, 2015
1 parent 97fa6bc commit 6e39a8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions requirements.txt
Expand Up @@ -28,6 +28,7 @@ raven==5.1.1
bleach==1.4
django-ipware==0.1.0
premailer==2.8.1
django-transactional-cleanup==0.1.12

# Comment it if you are using python >= 3.4
enum34==1.0
3 changes: 2 additions & 1 deletion settings/common.py
Expand Up @@ -33,7 +33,7 @@

DATABASES = {
"default": {
"ENGINE": "django.db.backends.postgresql_psycopg2",
"ENGINE": "transaction_hooks.backends.postgresql_psycopg2",
"NAME": "taiga",
}
}
Expand Down Expand Up @@ -204,6 +204,7 @@
"django_jinja.contrib._humanize",
"easy_thumbnails",
"raven.contrib.django.raven_compat",
"django_transactional_cleanup",
]

WSGI_APPLICATION = "taiga.wsgi.application"
Expand Down

0 comments on commit 6e39a8f

Please sign in to comment.