Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Commit

Permalink
Fix south error with django 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Wentz committed Sep 10, 2014
1 parent 7c8fcd7 commit efe77d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion betty/__init__.py
Expand Up @@ -2,4 +2,4 @@

from .celery import app as celery_app # noqa

__version__ = "0.2.7"
__version__ = "0.2.8"
7 changes: 6 additions & 1 deletion betty/conf/server.py
Expand Up @@ -104,9 +104,14 @@
'betty.cropper',
'betty.authtoken',
'betty.image_browser',
'south',
)

# Only use south with django < 1.7
import django
if django.VERSION < (1, 7):
INSTALLED_APPS = INSTALLED_APPS + ('south',)


CELERY_IGNORE_RESULT = True
CELERY_ALWAYS_EAGER = True
CELERY_EAGER_PROPAGATES_EXCEPTIONS = True
Expand Down

0 comments on commit efe77d4

Please sign in to comment.