X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9baaf0aa657110f7481ea24dc6bc68bf4fc64cd1..20be4d9d8dad31ecbda183f4b5c74c9d80799f72:/apps/south/db/__init__.py diff --git a/apps/south/db/__init__.py b/apps/south/db/__init__.py deleted file mode 100644 index 8e4d7733b..000000000 --- a/apps/south/db/__init__.py +++ /dev/null @@ -1,12 +0,0 @@ - -# Establish the common DatabaseOperations instance, which we call 'db'. -# This code somewhat lifted from django evolution -from django.conf import settings -import sys -module_name = ['south.db', settings.DATABASE_ENGINE] -try: - module = __import__('.'.join(module_name),{},{},['']) -except ImportError: - sys.stderr.write("There is no South database module for the engine '%s'. Please either choose a supported one, or remove South from INSTALLED_APPS.\n" % settings.DATABASE_ENGINE) - sys.exit(1) -db = module.DatabaseOperations() \ No newline at end of file