-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop support for Django before version 1.8.
- Loading branch information
Showing
84 changed files
with
78 additions
and
1,666 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +0,0 @@ | ||
""" | ||
Thanks to http://treyhunner.com/2014/03/migrating-to-django-1-dot-7/ | ||
Django migrations for mapit | ||
This package does not contain South migrations. South migrations can be found | ||
in the ``south_migrations`` package. | ||
""" | ||
|
||
SOUTH_ERROR_MESSAGE = """\n | ||
For South support, make sure you have South 1.0 installed, or | ||
customize the SOUTH_MIGRATION_MODULES setting like so: | ||
SOUTH_MIGRATION_MODULES = { | ||
'mapit': 'mapit.south_migrations', | ||
} | ||
""" | ||
|
||
# Ensure the user is not using Django 1.6 or below with South | ||
try: | ||
from django.db import migrations # noqa | ||
except ImportError: | ||
from django.core.exceptions import ImproperlyConfigured | ||
raise ImproperlyConfigured(SOUTH_ERROR_MESSAGE) | ||
Oops, something went wrong.