summaryrefslogtreecommitdiff
path: root/lib/python2.7/site-packages/south/signals.py
diff options
context:
space:
mode:
authorcoderick142017-05-17 15:40:18 +0530
committercoderick142017-05-17 15:41:00 +0530
commitfe407193c200e03070928c1e2c1a6e067d32893d (patch)
tree1c492aa814754b5db5d644c769f5382306217298 /lib/python2.7/site-packages/south/signals.py
parent9a1393e8470d855762e699abca9911b9cdae6a7d (diff)
downloadSBHS-2018-Rpi-fe407193c200e03070928c1e2c1a6e067d32893d.tar.gz
SBHS-2018-Rpi-fe407193c200e03070928c1e2c1a6e067d32893d.tar.bz2
SBHS-2018-Rpi-fe407193c200e03070928c1e2c1a6e067d32893d.zip
Upgrade to Django 1.11
- Database integration yet to be tested
Diffstat (limited to 'lib/python2.7/site-packages/south/signals.py')
-rw-r--r--lib/python2.7/site-packages/south/signals.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/python2.7/site-packages/south/signals.py b/lib/python2.7/site-packages/south/signals.py
deleted file mode 100644
index 12a1362..0000000
--- a/lib/python2.7/site-packages/south/signals.py
+++ /dev/null
@@ -1,24 +0,0 @@
-"""
-South-specific signals
-"""
-
-from django.dispatch import Signal
-from django.conf import settings
-
-# Sent at the start of the migration of an app
-pre_migrate = Signal(providing_args=["app", "verbosity", "interactive", "db"])
-
-# Sent after each successful migration of an app
-post_migrate = Signal(providing_args=["app", "verbosity", "interactive", "db"])
-
-# Sent after each run of a particular migration in a direction
-ran_migration = Signal(providing_args=["app", "migration", "method", "verbosity", "interactive", "db"])
-
-# Compatibility code for django.contrib.auth
-# Is causing strange errors, removing for now (we might need to fix up orm first)
-#if 'django.contrib.auth' in settings.INSTALLED_APPS:
- #def create_permissions_compat(app, **kwargs):
- #from django.db.models import get_app
- #from django.contrib.auth.management import create_permissions
- #create_permissions(get_app(app), (), 0)
- #post_migrate.connect(create_permissions_compat)