From 8b144dddf027f72c98713fabe5e9e0eba58e7c2d Mon Sep 17 00:00:00 2001 From: Andy Baker Date: Sat, 4 Jul 2015 12:28:06 +0100 Subject: [PATCH] Add initial Django 1.7 migrations and move south migrations until we decide to remove them completely. Remove South from test_proj --- .../dashboard/migrations/0001_initial.py | 106 +++++------------- admin_tools/dashboard/migrations/__init__.py | 1 + .../south_migrations/0001_initial.py | 83 ++++++++++++++ ...field_dashboardpreferences_dashboard_id.py | 0 ..._dashboardpreferences_dashboard_id_user.py | 0 .../dashboard/south_migrations/__init__.py | 0 admin_tools/menu/migrations/0001_initial.py | 102 ++++------------- admin_tools/menu/migrations/__init__.py | 1 + .../menu/south_migrations/0001_initial.py | 83 ++++++++++++++ admin_tools/menu/south_migrations/__init__.py | 0 test_proj/settings.py | 1 - 11 files changed, 220 insertions(+), 157 deletions(-) create mode 100644 admin_tools/dashboard/south_migrations/0001_initial.py rename admin_tools/dashboard/{migrations => south_migrations}/0002_auto__add_field_dashboardpreferences_dashboard_id.py (100%) rename admin_tools/dashboard/{migrations => south_migrations}/0003_auto__add_unique_dashboardpreferences_dashboard_id_user.py (100%) create mode 100644 admin_tools/dashboard/south_migrations/__init__.py create mode 100644 admin_tools/menu/south_migrations/0001_initial.py create mode 100644 admin_tools/menu/south_migrations/__init__.py diff --git a/admin_tools/dashboard/migrations/0001_initial.py b/admin_tools/dashboard/migrations/0001_initial.py index 5c128f2..97fad07 100644 --- a/admin_tools/dashboard/migrations/0001_initial.py +++ b/admin_tools/dashboard/migrations/0001_initial.py @@ -1,83 +1,33 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations from django.conf import settings -from south import modelsinspector - -try: - from django.contrib.auth import get_user_model - UserModel = get_user_model() -except ImportError: - from django.contrib.auth.models import User as UserModel -user_model = getattr(settings, 'AUTH_USER_MODEL', 'auth.User') +class Migration(migrations.Migration): + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ] -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Adding model 'DashboardPreferences' - db.create_table('admin_tools_dashboard_preferences', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm[user_model])), - ('data', self.gf('django.db.models.fields.TextField')()), - )) - db.send_create_signal('dashboard', ['DashboardPreferences']) - - - def backwards(self, orm): - - # Deleting model 'DashboardPreferences' - db.delete_table('admin_tools_dashboard_preferences') - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - user_model: { - 'Meta': modelsinspector.get_model_meta(UserModel), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'dashboard.dashboardpreferences': { - 'Meta': {'ordering': "('user',)", 'object_name': 'DashboardPreferences', 'db_table': "'admin_tools_dashboard_preferences'"}, - 'data': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['%s']" % user_model}) - } - } - - complete_apps = ['dashboard'] + operations = [ + migrations.CreateModel( + name='DashboardPreferences', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('data', models.TextField()), + ('dashboard_id', models.CharField(max_length=100)), + ('user', models.ForeignKey(to=settings.AUTH_USER_MODEL)), + ], + options={ + 'ordering': ('user',), + 'db_table': 'admin_tools_dashboard_preferences', + }, + bases=(models.Model,), + ), + migrations.AlterUniqueTogether( + name='dashboardpreferences', + unique_together=set([('user', 'dashboard_id')]), + ), + ] diff --git a/admin_tools/dashboard/migrations/__init__.py b/admin_tools/dashboard/migrations/__init__.py index e69de29..33a7eba 100644 --- a/admin_tools/dashboard/migrations/__init__.py +++ b/admin_tools/dashboard/migrations/__init__.py @@ -0,0 +1 @@ +__author__ = 'andybaker' diff --git a/admin_tools/dashboard/south_migrations/0001_initial.py b/admin_tools/dashboard/south_migrations/0001_initial.py new file mode 100644 index 0000000..5c128f2 --- /dev/null +++ b/admin_tools/dashboard/south_migrations/0001_initial.py @@ -0,0 +1,83 @@ +# encoding: utf-8 +import datetime +from south.db import db +from south.v2 import SchemaMigration +from django.db import models +from django.conf import settings +from south import modelsinspector + +try: + from django.contrib.auth import get_user_model + UserModel = get_user_model() +except ImportError: + from django.contrib.auth.models import User as UserModel + + +user_model = getattr(settings, 'AUTH_USER_MODEL', 'auth.User') + + +class Migration(SchemaMigration): + + def forwards(self, orm): + + # Adding model 'DashboardPreferences' + db.create_table('admin_tools_dashboard_preferences', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm[user_model])), + ('data', self.gf('django.db.models.fields.TextField')()), + )) + db.send_create_signal('dashboard', ['DashboardPreferences']) + + + def backwards(self, orm): + + # Deleting model 'DashboardPreferences' + db.delete_table('admin_tools_dashboard_preferences') + + + models = { + 'auth.group': { + 'Meta': {'object_name': 'Group'}, + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), + 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + }, + 'auth.permission': { + 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, + 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + }, + user_model: { + 'Meta': modelsinspector.get_model_meta(UserModel), + 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), + 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'contenttypes.contenttype': { + 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + }, + 'dashboard.dashboardpreferences': { + 'Meta': {'ordering': "('user',)", 'object_name': 'DashboardPreferences', 'db_table': "'admin_tools_dashboard_preferences'"}, + 'data': ('django.db.models.fields.TextField', [], {}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['%s']" % user_model}) + } + } + + complete_apps = ['dashboard'] diff --git a/admin_tools/dashboard/migrations/0002_auto__add_field_dashboardpreferences_dashboard_id.py b/admin_tools/dashboard/south_migrations/0002_auto__add_field_dashboardpreferences_dashboard_id.py similarity index 100% rename from admin_tools/dashboard/migrations/0002_auto__add_field_dashboardpreferences_dashboard_id.py rename to admin_tools/dashboard/south_migrations/0002_auto__add_field_dashboardpreferences_dashboard_id.py diff --git a/admin_tools/dashboard/migrations/0003_auto__add_unique_dashboardpreferences_dashboard_id_user.py b/admin_tools/dashboard/south_migrations/0003_auto__add_unique_dashboardpreferences_dashboard_id_user.py similarity index 100% rename from admin_tools/dashboard/migrations/0003_auto__add_unique_dashboardpreferences_dashboard_id_user.py rename to admin_tools/dashboard/south_migrations/0003_auto__add_unique_dashboardpreferences_dashboard_id_user.py diff --git a/admin_tools/dashboard/south_migrations/__init__.py b/admin_tools/dashboard/south_migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/admin_tools/menu/migrations/0001_initial.py b/admin_tools/menu/migrations/0001_initial.py index e197160..bf81750 100644 --- a/admin_tools/menu/migrations/0001_initial.py +++ b/admin_tools/menu/migrations/0001_initial.py @@ -1,83 +1,29 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations from django.conf import settings -from south import modelsinspector - -try: - from django.contrib.auth import get_user_model - UserModel = get_user_model() -except ImportError: - from django.contrib.auth.models import User as UserModel -user_model = getattr(settings, 'AUTH_USER_MODEL', 'auth.User') +class Migration(migrations.Migration): + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ] -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding model 'Bookmark' - db.create_table('admin_tools_menu_bookmark', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm[user_model])), - ('url', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('title', self.gf('django.db.models.fields.CharField')(max_length=255)), - )) - db.send_create_signal('menu', ['Bookmark']) - - - def backwards(self, orm): - # Deleting model 'Bookmark' - db.delete_table('admin_tools_menu_bookmark') - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - user_model: { - 'Meta': modelsinspector.get_model_meta(UserModel), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'menu.bookmark': { - 'Meta': {'ordering': "('id',)", 'object_name': 'Bookmark', 'db_table': "'admin_tools_menu_bookmark'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['%s']" % user_model}) - } - } - - complete_apps = ['menu'] + operations = [ + migrations.CreateModel( + name='Bookmark', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('url', models.CharField(max_length=255)), + ('title', models.CharField(max_length=255)), + ('user', models.ForeignKey(to=settings.AUTH_USER_MODEL)), + ], + options={ + 'ordering': ('id',), + 'db_table': 'admin_tools_menu_bookmark', + }, + bases=(models.Model,), + ), + ] diff --git a/admin_tools/menu/migrations/__init__.py b/admin_tools/menu/migrations/__init__.py index e69de29..33a7eba 100644 --- a/admin_tools/menu/migrations/__init__.py +++ b/admin_tools/menu/migrations/__init__.py @@ -0,0 +1 @@ +__author__ = 'andybaker' diff --git a/admin_tools/menu/south_migrations/0001_initial.py b/admin_tools/menu/south_migrations/0001_initial.py new file mode 100644 index 0000000..e197160 --- /dev/null +++ b/admin_tools/menu/south_migrations/0001_initial.py @@ -0,0 +1,83 @@ +# encoding: utf-8 +import datetime +from south.db import db +from south.v2 import SchemaMigration +from django.db import models +from django.conf import settings +from south import modelsinspector + +try: + from django.contrib.auth import get_user_model + UserModel = get_user_model() +except ImportError: + from django.contrib.auth.models import User as UserModel + + +user_model = getattr(settings, 'AUTH_USER_MODEL', 'auth.User') + + +class Migration(SchemaMigration): + + def forwards(self, orm): + # Adding model 'Bookmark' + db.create_table('admin_tools_menu_bookmark', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm[user_model])), + ('url', self.gf('django.db.models.fields.CharField')(max_length=255)), + ('title', self.gf('django.db.models.fields.CharField')(max_length=255)), + )) + db.send_create_signal('menu', ['Bookmark']) + + + def backwards(self, orm): + # Deleting model 'Bookmark' + db.delete_table('admin_tools_menu_bookmark') + + + models = { + 'auth.group': { + 'Meta': {'object_name': 'Group'}, + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), + 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + }, + 'auth.permission': { + 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, + 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + }, + user_model: { + 'Meta': modelsinspector.get_model_meta(UserModel), + 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), + 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'contenttypes.contenttype': { + 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + }, + 'menu.bookmark': { + 'Meta': {'ordering': "('id',)", 'object_name': 'Bookmark', 'db_table': "'admin_tools_menu_bookmark'"}, + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), + 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}), + 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['%s']" % user_model}) + } + } + + complete_apps = ['menu'] diff --git a/admin_tools/menu/south_migrations/__init__.py b/admin_tools/menu/south_migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/test_proj/settings.py b/test_proj/settings.py index 6fb79f0..126694b 100644 --- a/test_proj/settings.py +++ b/test_proj/settings.py @@ -140,7 +140,6 @@ INSTALLED_APPS = [ 'django.contrib.admin', # Uncomment the next line to enable admin documentation: # 'django.contrib.admindocs', - 'south', 'test_app', ]