Skip to content

Commit 6a32bdd

Browse files
committed
Merge pull request #5 from virogenesis/master
Django 1.6 support + south
2 parents 72f8b87 + 9842b6e commit 6a32bdd

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

djangoplugins/management/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
from __future__ import absolute_import
22

3-
from django.db.models.signals import post_migrate, post_syncdb
3+
try:
4+
from django.db.models.signals import post_migrate
5+
except ImportError:
6+
from south.signals import post_migrate
7+
8+
from django.db.models.signals import post_syncdb
9+
410

511
from djangoplugins import models as plugins_app
612
from .commands.syncplugins import SyncPlugins

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def read_docs(filename):
2929
author_email='[email protected]',
3030
packages=find_packages(exclude=['sample-project']),
3131
install_requires=[
32-
'django>=1.7',
32+
'django>=1.6',
3333
],
3434
url='https://github.com/krischer/django-plugins',
3535
download_url='http://pypi.python.org/pypi/django-plugins',

0 commit comments

Comments
 (0)