summaryrefslogtreecommitdiff
path: root/lib/python2.7/site-packages/south/v2.py
diff options
context:
space:
mode:
authorcoderick142017-05-17 15:40:18 +0530
committercoderick142017-05-17 15:41:00 +0530
commita1e0a5502f04da68b6a9ca8508dda3f9d7e1d055 (patch)
tree20181e6b1936f50ad48d8e35720d64a37566f558 /lib/python2.7/site-packages/south/v2.py
parent6f4a84c1e58ff4d54aab94cbee26e995328b05b8 (diff)
downloadSBHS-2018-Rpi-a1e0a5502f04da68b6a9ca8508dda3f9d7e1d055.tar.gz
SBHS-2018-Rpi-a1e0a5502f04da68b6a9ca8508dda3f9d7e1d055.tar.bz2
SBHS-2018-Rpi-a1e0a5502f04da68b6a9ca8508dda3f9d7e1d055.zip
Upgrade to Django 1.11
- Database integration yet to be tested
Diffstat (limited to 'lib/python2.7/site-packages/south/v2.py')
-rw-r--r--lib/python2.7/site-packages/south/v2.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/python2.7/site-packages/south/v2.py b/lib/python2.7/site-packages/south/v2.py
deleted file mode 100644
index 22afed2..0000000
--- a/lib/python2.7/site-packages/south/v2.py
+++ /dev/null
@@ -1,25 +0,0 @@
-"""
-API versioning file; we can tell what kind of migrations things are
-by what class they inherit from (if none, it's a v1).
-"""
-
-from south.utils import ask_for_it_by_name
-
-class BaseMigration(object):
-
- def gf(self, field_name):
- "Gets a field by absolute reference."
- field = ask_for_it_by_name(field_name)
- field.model = FakeModel
- return field
-
-class SchemaMigration(BaseMigration):
- pass
-
-class DataMigration(BaseMigration):
- # Data migrations shouldn't be dry-run
- no_dry_run = True
-
-class FakeModel(object):
- "Fake model so error messages on fields don't explode"
- pass