Merge pull request #203 from taigaio/us/1517/attachment-delete

Add django-transactional-cleanup and configure it
remotes/origin/enhancement/email-actions
Alejandro 2015-01-14 12:26:58 +01:00
commit 9cc6af9bd6
2 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,7 @@ raven==5.1.1
bleach==1.4 bleach==1.4
django-ipware==0.1.0 django-ipware==0.1.0
premailer==2.8.1 premailer==2.8.1
django-transactional-cleanup==0.1.12
# Comment it if you are using python >= 3.4 # Comment it if you are using python >= 3.4
enum34==1.0 enum34==1.0

View File

@ -33,7 +33,7 @@ LANGUAGES = (
DATABASES = { DATABASES = {
"default": { "default": {
"ENGINE": "django.db.backends.postgresql_psycopg2", "ENGINE": "transaction_hooks.backends.postgresql_psycopg2",
"NAME": "taiga", "NAME": "taiga",
} }
} }
@ -204,6 +204,7 @@ INSTALLED_APPS = [
"django_jinja.contrib._humanize", "django_jinja.contrib._humanize",
"easy_thumbnails", "easy_thumbnails",
"raven.contrib.django.raven_compat", "raven.contrib.django.raven_compat",
"django_transactional_cleanup",
] ]
WSGI_APPLICATION = "taiga.wsgi.application" WSGI_APPLICATION = "taiga.wsgi.application"