summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrimal Pappachan2012-03-16 19:00:14 +0530
committerPrimal Pappachan2012-03-16 19:00:14 +0530
commit3e4c568e5e6636e502c335ba7d84be3edad18613 (patch)
treea46f42143e7bb56a061aa5601bdc2e6eca8a441e
parent89ec7a69ea1737386396044fe6755646ef7c1b57 (diff)
downloadaloha-3e4c568e5e6636e502c335ba7d84be3edad18613.tar.gz
aloha-3e4c568e5e6636e502c335ba7d84be3edad18613.tar.bz2
aloha-3e4c568e5e6636e502c335ba7d84be3edad18613.zip
Removed migrations from github as it is not required at present
-rw-r--r--allotter/migrations/0001_initial.py174
-rw-r--r--allotter/migrations/0002_auto__add_field_option_exam.py91
-rw-r--r--allotter/migrations/0002_auto__add_field_profile_exam_code.py106
-rw-r--r--allotter/migrations/0003_auto__add_field_option_exam.py106
-rw-r--r--allotter/migrations/0003_auto__del_field_profile_roll_number__add_field_profile_application_num.py142
-rw-r--r--allotter/migrations/0004_auto__chg_field_profile_dob.py95
-rw-r--r--allotter/migrations/0004_auto__del_field_option_exam.py106
-rw-r--r--allotter/migrations/0005_auto__del_field_profile_category__del_field_profile_exam_code__del_fie.py219
-rw-r--r--allotter/migrations/0006_auto__add_field_profile_application__del_field_application_profile__de.py105
-rw-r--r--allotter/migrations/0007_auto__add_field_application_user.py94
-rw-r--r--allotter/migrations/__init__.py0
11 files changed, 0 insertions, 1238 deletions
diff --git a/allotter/migrations/0001_initial.py b/allotter/migrations/0001_initial.py
deleted file mode 100644
index 563a547..0000000
--- a/allotter/migrations/0001_initial.py
+++ /dev/null
@@ -1,174 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
-
- # Adding model 'Exam'
- db.create_table('allotter_exam', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('exam_code', self.gf('django.db.models.fields.CharField')(max_length=100)),
- ('exam_name', self.gf('django.db.models.fields.CharField')(max_length=100)),
- ))
- db.send_create_signal('allotter', ['Exam'])
-
- # Adding model 'Option'
- db.create_table('allotter_option', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('opt_name', self.gf('django.db.models.fields.CharField')(max_length=100)),
- ('seats', self.gf('django.db.models.fields.IntegerField')()),
- ))
- db.send_create_signal('allotter', ['Option'])
-
- # Adding M2M table for field exam on 'Option'
- db.create_table('allotter_option_exam', (
- ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
- ('option', models.ForeignKey(orm['allotter.option'], null=False)),
- ('exam', models.ForeignKey(orm['allotter.exam'], null=False))
- ))
- db.create_unique('allotter_option_exam', ['option_id', 'exam_id'])
-
- # Adding model 'Profile'
- db.create_table('allotter_profile', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('user', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['auth.User'], unique=True)),
- ('application_number', self.gf('django.db.models.fields.IntegerField')(max_length=20)),
- ('dob', self.gf('django.db.models.fields.DateField')()),
- ('category', self.gf('django.db.models.fields.CharField')(max_length=30)),
- ('rank', self.gf('django.db.models.fields.IntegerField')(max_length=6)),
- ('gender', self.gf('django.db.models.fields.CharField')(max_length=10)),
- ('pd', self.gf('django.db.models.fields.BooleanField')(default=False)),
- ))
- db.send_create_signal('allotter', ['Profile'])
-
- # Adding M2M table for field exam_code on 'Profile'
- db.create_table('allotter_profile_exam_code', (
- ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
- ('profile', models.ForeignKey(orm['allotter.profile'], null=False)),
- ('option', models.ForeignKey(orm['allotter.option'], null=False))
- ))
- db.create_unique('allotter_profile_exam_code', ['profile_id', 'option_id'])
-
- # Adding model 'Application'
- db.create_table('allotter_application', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'])),
- ('profile', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['allotter.Profile'])),
- ('exam_taken', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['allotter.Exam'])),
- ('status', self.gf('django.db.models.fields.CharField')(max_length=24)),
- ('editable', self.gf('django.db.models.fields.BooleanField')(default=True)),
- ))
- db.send_create_signal('allotter', ['Application'])
-
- # Adding M2M table for field options on 'Application'
- db.create_table('allotter_application_options', (
- ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
- ('application', models.ForeignKey(orm['allotter.application'], null=False)),
- ('option', models.ForeignKey(orm['allotter.option'], null=False))
- ))
- db.create_unique('allotter_application_options', ['application_id', 'option_id'])
-
-
- def backwards(self, orm):
-
- # Deleting model 'Exam'
- db.delete_table('allotter_exam')
-
- # Deleting model 'Option'
- db.delete_table('allotter_option')
-
- # Removing M2M table for field exam on 'Option'
- db.delete_table('allotter_option_exam')
-
- # Deleting model 'Profile'
- db.delete_table('allotter_profile')
-
- # Removing M2M table for field exam_code on 'Profile'
- db.delete_table('allotter_profile_exam_code')
-
- # Deleting model 'Application'
- db.delete_table('allotter_application')
-
- # Removing M2M table for field options on 'Application'
- db.delete_table('allotter_application_options')
-
-
- models = {
- 'allotter.application': {
- 'Meta': {'object_name': 'Application'},
- 'editable': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'exam_taken': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['allotter.Exam']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'options': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['allotter.Option']", 'symmetrical': 'False'}),
- 'profile': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['allotter.Profile']"}),
- 'status': ('django.db.models.fields.CharField', [], {'max_length': '24'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
- },
- 'allotter.exam': {
- 'Meta': {'object_name': 'Exam'},
- 'exam_code': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'exam_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
- },
- 'allotter.option': {
- 'Meta': {'object_name': 'Option'},
- 'exam': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['allotter.Exam']", 'symmetrical': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'opt_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'seats': ('django.db.models.fields.IntegerField', [], {})
- },
- 'allotter.profile': {
- 'Meta': {'object_name': 'Profile'},
- 'application_number': ('django.db.models.fields.IntegerField', [], {'max_length': '20'}),
- 'category': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
- 'dob': ('django.db.models.fields.DateField', [], {}),
- 'exam_code': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['allotter.Option']", 'symmetrical': 'False'}),
- 'gender': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pd': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'rank': ('django.db.models.fields.IntegerField', [], {'max_length': '6'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'})
- },
- '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'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- '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'})
- }
- }
-
- complete_apps = ['allotter']
diff --git a/allotter/migrations/0002_auto__add_field_option_exam.py b/allotter/migrations/0002_auto__add_field_option_exam.py
deleted file mode 100644
index 9d6773c..0000000
--- a/allotter/migrations/0002_auto__add_field_option_exam.py
+++ /dev/null
@@ -1,91 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
-
- # Adding field 'Option.exam'
- db.add_column('allotter_option', 'exam', self.gf('django.db.models.fields.related.ForeignKey')(default=1, to=orm['allotter.Exam']), keep_default=False)
-
-
- def backwards(self, orm):
-
- # Deleting field 'Option.exam'
- db.delete_column('allotter_option', 'exam_id')
-
-
- models = {
- 'allotter.application': {
- 'Meta': {'object_name': 'Application'},
- 'editable': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'exam_taken': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['allotter.Exam']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'options': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['allotter.Option']", 'symmetrical': 'False'}),
- 'profile': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['allotter.Profile']"}),
- 'status': ('django.db.models.fields.CharField', [], {'max_length': '24'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
- },
- 'allotter.exam': {
- 'Meta': {'object_name': 'Exam'},
- 'exam_code': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'exam_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
- },
- 'allotter.option': {
- 'Meta': {'object_name': 'Option'},
- 'exam': ('django.db.models.fields.related.ForeignKey', [], {'default': '1', 'to': "orm['allotter.Exam']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'opt_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'seats': ('django.db.models.fields.IntegerField', [], {})
- },
- 'allotter.profile': {
- 'Meta': {'object_name': 'Profile'},
- 'category': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
- 'dob': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'roll_number': ('django.db.models.fields.CharField', [], {'max_length': '20'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'})
- },
- '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'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- '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'})
- }
- }
-
- complete_apps = ['allotter']
diff --git a/allotter/migrations/0002_auto__add_field_profile_exam_code.py b/allotter/migrations/0002_auto__add_field_profile_exam_code.py
deleted file mode 100644
index 4787de9..0000000
--- a/allotter/migrations/0002_auto__add_field_profile_exam_code.py
+++ /dev/null
@@ -1,106 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
-
- # Adding field 'Profile.exam_code'
- db.add_column('allotter_profile', 'exam_code', self.gf('django.db.models.fields.CharField')(default='', max_length=30), keep_default=False)
-
- # Removing M2M table for field exam_code on 'Profile'
- db.delete_table('allotter_profile_exam_code')
-
-
- def backwards(self, orm):
-
- # Deleting field 'Profile.exam_code'
- db.delete_column('allotter_profile', 'exam_code')
-
- # Adding M2M table for field exam_code on 'Profile'
- db.create_table('allotter_profile_exam_code', (
- ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
- ('profile', models.ForeignKey(orm['allotter.profile'], null=False)),
- ('option', models.ForeignKey(orm['allotter.option'], null=False))
- ))
- db.create_unique('allotter_profile_exam_code', ['profile_id', 'option_id'])
-
-
- models = {
- 'allotter.application': {
- 'Meta': {'object_name': 'Application'},
- 'editable': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'exam_taken': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['allotter.Exam']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'options': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['allotter.Option']", 'symmetrical': 'False'}),
- 'profile': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['allotter.Profile']"}),
- 'status': ('django.db.models.fields.CharField', [], {'max_length': '24'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
- },
- 'allotter.exam': {
- 'Meta': {'object_name': 'Exam'},
- 'exam_code': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'exam_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
- },
- 'allotter.option': {
- 'Meta': {'object_name': 'Option'},
- 'exam': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['allotter.Exam']", 'symmetrical': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'opt_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'seats': ('django.db.models.fields.IntegerField', [], {})
- },
- 'allotter.profile': {
- 'Meta': {'object_name': 'Profile'},
- 'application_number': ('django.db.models.fields.IntegerField', [], {'max_length': '20'}),
- 'category': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
- 'dob': ('django.db.models.fields.DateField', [], {}),
- 'exam_code': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
- 'gender': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pd': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'rank': ('django.db.models.fields.IntegerField', [], {'max_length': '6'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'})
- },
- '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'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- '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'})
- }
- }
-
- complete_apps = ['allotter']
diff --git a/allotter/migrations/0003_auto__add_field_option_exam.py b/allotter/migrations/0003_auto__add_field_option_exam.py
deleted file mode 100644
index 79ed674..0000000
--- a/allotter/migrations/0003_auto__add_field_option_exam.py
+++ /dev/null
@@ -1,106 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
-
- # Adding field 'Option.exam'
- db.add_column('allotter_option', 'exam', self.gf('django.db.models.fields.CharField')(default='', max_length=30), keep_default=False)
-
- # Removing M2M table for field exam on 'Option'
- db.delete_table('allotter_option_exam')
-
-
- def backwards(self, orm):
-
- # Deleting field 'Option.exam'
- db.delete_column('allotter_option', 'exam')
-
- # Adding M2M table for field exam on 'Option'
- db.create_table('allotter_option_exam', (
- ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
- ('option', models.ForeignKey(orm['allotter.option'], null=False)),
- ('exam', models.ForeignKey(orm['allotter.exam'], null=False))
- ))
- db.create_unique('allotter_option_exam', ['option_id', 'exam_id'])
-
-
- models = {
- 'allotter.application': {
- 'Meta': {'object_name': 'Application'},
- 'editable': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'exam_taken': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['allotter.Exam']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'options': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['allotter.Option']", 'symmetrical': 'False'}),
- 'profile': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['allotter.Profile']"}),
- 'status': ('django.db.models.fields.CharField', [], {'max_length': '24'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
- },
- 'allotter.exam': {
- 'Meta': {'object_name': 'Exam'},
- 'exam_code': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'exam_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
- },
- 'allotter.option': {
- 'Meta': {'object_name': 'Option'},
- 'exam': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'opt_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'seats': ('django.db.models.fields.IntegerField', [], {})
- },
- 'allotter.profile': {
- 'Meta': {'object_name': 'Profile'},
- 'application_number': ('django.db.models.fields.IntegerField', [], {'max_length': '20'}),
- 'category': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
- 'dob': ('django.db.models.fields.DateField', [], {}),
- 'exam_code': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
- 'gender': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pd': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'rank': ('django.db.models.fields.IntegerField', [], {'max_length': '6'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'})
- },
- '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'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- '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'})
- }
- }
-
- complete_apps = ['allotter']
diff --git a/allotter/migrations/0003_auto__del_field_profile_roll_number__add_field_profile_application_num.py b/allotter/migrations/0003_auto__del_field_profile_roll_number__add_field_profile_application_num.py
deleted file mode 100644
index b198a47..0000000
--- a/allotter/migrations/0003_auto__del_field_profile_roll_number__add_field_profile_application_num.py
+++ /dev/null
@@ -1,142 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
-
- # Deleting field 'Profile.roll_number'
- db.delete_column('allotter_profile', 'roll_number')
-
- # Adding field 'Profile.application_number'
- db.add_column('allotter_profile', 'application_number', self.gf('django.db.models.fields.IntegerField')(default=1, max_length=20), keep_default=False)
-
- # Adding field 'Profile.exam_code'
- db.add_column('allotter_profile', 'exam_code', self.gf('django.db.models.fields.CharField')(default=1, max_length=30), keep_default=False)
-
- # Adding field 'Profile.rank'
- db.add_column('allotter_profile', 'rank', self.gf('django.db.models.fields.IntegerField')(default=0, max_length=6), keep_default=False)
-
- # Adding field 'Profile.gender'
- db.add_column('allotter_profile', 'gender', self.gf('django.db.models.fields.CharField')(default='M', max_length=10), keep_default=False)
-
- # Adding field 'Profile.pd'
- db.add_column('allotter_profile', 'pd', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False)
-
- # Deleting field 'Option.exam'
- db.delete_column('allotter_option', 'exam_id')
-
- # Adding M2M table for field exam on 'Option'
- db.create_table('allotter_option_exam', (
- ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
- ('option', models.ForeignKey(orm['allotter.option'], null=False)),
- ('exam', models.ForeignKey(orm['allotter.exam'], null=False))
- ))
- db.create_unique('allotter_option_exam', ['option_id', 'exam_id'])
-
-
- def backwards(self, orm):
-
- # Adding field 'Profile.roll_number'
- db.add_column('allotter_profile', 'roll_number', self.gf('django.db.models.fields.CharField')(default='', max_length=20), keep_default=False)
-
- # Deleting field 'Profile.application_number'
- db.delete_column('allotter_profile', 'application_number')
-
- # Deleting field 'Profile.exam_code'
- db.delete_column('allotter_profile', 'exam_code')
-
- # Deleting field 'Profile.rank'
- db.delete_column('allotter_profile', 'rank')
-
- # Deleting field 'Profile.gender'
- db.delete_column('allotter_profile', 'gender')
-
- # Deleting field 'Profile.pd'
- db.delete_column('allotter_profile', 'pd')
-
- # Adding field 'Option.exam'
- db.add_column('allotter_option', 'exam', self.gf('django.db.models.fields.related.ForeignKey')(default=1, to=orm['allotter.Exam']), keep_default=False)
-
- # Removing M2M table for field exam on 'Option'
- db.delete_table('allotter_option_exam')
-
-
- models = {
- 'allotter.application': {
- 'Meta': {'object_name': 'Application'},
- 'editable': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'exam_taken': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['allotter.Exam']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'options': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['allotter.Option']", 'symmetrical': 'False'}),
- 'profile': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['allotter.Profile']"}),
- 'status': ('django.db.models.fields.CharField', [], {'max_length': '24'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
- },
- 'allotter.exam': {
- 'Meta': {'object_name': 'Exam'},
- 'exam_code': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'exam_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
- },
- 'allotter.option': {
- 'Meta': {'object_name': 'Option'},
- 'exam': ('django.db.models.fields.related.ManyToManyField', [], {'default': '1', 'to': "orm['allotter.Exam']", 'symmetrical': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'opt_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'seats': ('django.db.models.fields.IntegerField', [], {})
- },
- 'allotter.profile': {
- 'Meta': {'object_name': 'Profile'},
- 'application_number': ('django.db.models.fields.IntegerField', [], {'max_length': '20'}),
- 'category': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
- 'dob': ('django.db.models.fields.DateTimeField', [], {}),
- 'exam_code': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
- 'gender': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pd': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'rank': ('django.db.models.fields.IntegerField', [], {'max_length': '6'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'})
- },
- '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'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- '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'})
- }
- }
-
- complete_apps = ['allotter']
diff --git a/allotter/migrations/0004_auto__chg_field_profile_dob.py b/allotter/migrations/0004_auto__chg_field_profile_dob.py
deleted file mode 100644
index 53731fb..0000000
--- a/allotter/migrations/0004_auto__chg_field_profile_dob.py
+++ /dev/null
@@ -1,95 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
-
- # Changing field 'Profile.dob'
- db.alter_column('allotter_profile', 'dob', self.gf('django.db.models.fields.DateField')())
-
-
- def backwards(self, orm):
-
- # Changing field 'Profile.dob'
- db.alter_column('allotter_profile', 'dob', self.gf('django.db.models.fields.DateTimeField')())
-
-
- models = {
- 'allotter.application': {
- 'Meta': {'object_name': 'Application'},
- 'editable': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'exam_taken': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['allotter.Exam']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'options': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['allotter.Option']", 'symmetrical': 'False'}),
- 'profile': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['allotter.Profile']"}),
- 'status': ('django.db.models.fields.CharField', [], {'max_length': '24'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
- },
- 'allotter.exam': {
- 'Meta': {'object_name': 'Exam'},
- 'exam_code': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'exam_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
- },
- 'allotter.option': {
- 'Meta': {'object_name': 'Option'},
- 'exam': ('django.db.models.fields.related.ManyToManyField', [], {'default': '1', 'to': "orm['allotter.Exam']", 'symmetrical': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'opt_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'seats': ('django.db.models.fields.IntegerField', [], {})
- },
- 'allotter.profile': {
- 'Meta': {'object_name': 'Profile'},
- 'application_number': ('django.db.models.fields.IntegerField', [], {'max_length': '20'}),
- 'category': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
- 'dob': ('django.db.models.fields.DateField', [], {}),
- 'exam_code': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
- 'gender': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pd': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'rank': ('django.db.models.fields.IntegerField', [], {'max_length': '6'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'})
- },
- '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'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- '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'})
- }
- }
-
- complete_apps = ['allotter']
diff --git a/allotter/migrations/0004_auto__del_field_option_exam.py b/allotter/migrations/0004_auto__del_field_option_exam.py
deleted file mode 100644
index 6d254ea..0000000
--- a/allotter/migrations/0004_auto__del_field_option_exam.py
+++ /dev/null
@@ -1,106 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
-
- # Deleting field 'Option.exam'
- db.delete_column('allotter_option', 'exam')
-
- # Adding M2M table for field exam on 'Option'
- db.create_table('allotter_option_exam', (
- ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
- ('option', models.ForeignKey(orm['allotter.option'], null=False)),
- ('exam', models.ForeignKey(orm['allotter.exam'], null=False))
- ))
- db.create_unique('allotter_option_exam', ['option_id', 'exam_id'])
-
-
- def backwards(self, orm):
-
- # Adding field 'Option.exam'
- db.add_column('allotter_option', 'exam', self.gf('django.db.models.fields.CharField')(default='', max_length=30), keep_default=False)
-
- # Removing M2M table for field exam on 'Option'
- db.delete_table('allotter_option_exam')
-
-
- models = {
- 'allotter.application': {
- 'Meta': {'object_name': 'Application'},
- 'editable': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'exam_taken': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['allotter.Exam']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'options': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['allotter.Option']", 'symmetrical': 'False'}),
- 'profile': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['allotter.Profile']"}),
- 'status': ('django.db.models.fields.CharField', [], {'max_length': '24'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
- },
- 'allotter.exam': {
- 'Meta': {'object_name': 'Exam'},
- 'exam_code': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'exam_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
- },
- 'allotter.option': {
- 'Meta': {'object_name': 'Option'},
- 'exam': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['allotter.Exam']", 'symmetrical': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'opt_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'seats': ('django.db.models.fields.IntegerField', [], {})
- },
- 'allotter.profile': {
- 'Meta': {'object_name': 'Profile'},
- 'application_number': ('django.db.models.fields.IntegerField', [], {'max_length': '20'}),
- 'category': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
- 'dob': ('django.db.models.fields.DateField', [], {}),
- 'exam_code': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
- 'gender': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pd': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'rank': ('django.db.models.fields.IntegerField', [], {'max_length': '6'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'})
- },
- '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'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- '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'})
- }
- }
-
- complete_apps = ['allotter']
diff --git a/allotter/migrations/0005_auto__del_field_profile_category__del_field_profile_exam_code__del_fie.py b/allotter/migrations/0005_auto__del_field_profile_category__del_field_profile_exam_code__del_fie.py
deleted file mode 100644
index 3e2400a..0000000
--- a/allotter/migrations/0005_auto__del_field_profile_category__del_field_profile_exam_code__del_fie.py
+++ /dev/null
@@ -1,219 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
-
- # Deleting field 'Profile.category'
- db.delete_column('allotter_profile', 'category')
-
- # Deleting field 'Profile.exam_code'
- db.delete_column('allotter_profile', 'exam_code')
-
- # Deleting field 'Profile.application_number'
- db.delete_column('allotter_profile', 'application_number')
-
- # Deleting field 'Profile.pd'
- db.delete_column('allotter_profile', 'pd')
-
- # Deleting field 'Profile.gender'
- db.delete_column('allotter_profile', 'gender')
-
- # Deleting field 'Profile.rank'
- db.delete_column('allotter_profile', 'rank')
-
- # Deleting field 'Option.seats'
- db.delete_column('allotter_option', 'seats')
-
- # Adding field 'Option.opt_code'
- db.add_column('allotter_option', 'opt_code', self.gf('django.db.models.fields.IntegerField')(default='', max_length=3), keep_default=False)
-
- # Deleting field 'Application.status'
- db.delete_column('allotter_application', 'status')
-
- # Deleting field 'Application.exam_taken'
- db.delete_column('allotter_application', 'exam_taken_id')
-
- # Deleting field 'Application.editable'
- db.delete_column('allotter_application', 'editable')
-
- # Adding field 'Application.options_selected'
- db.add_column('allotter_application', 'options_selected', self.gf('django.db.models.fields.CharField')(default='', max_length=5000), keep_default=False)
-
- # Adding field 'Application.np'
- db.add_column('allotter_application', 'np', self.gf('django.db.models.fields.IntegerField')(default=1, max_length=2), keep_default=False)
-
- # Adding field 'Application.first_paper'
- db.add_column('allotter_application', 'first_paper', self.gf('django.db.models.fields.related.ForeignKey')(default='', related_name='first_paper', to=orm['allotter.Exam']), keep_default=False)
-
- # Adding field 'Application.second_paper'
- db.add_column('allotter_application', 'second_paper', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='second_paper', null=True, to=orm['allotter.Exam']), keep_default=False)
-
- # Adding field 'Application.nat'
- db.add_column('allotter_application', 'nat', self.gf('django.db.models.fields.CharField')(default='', max_length=10), keep_default=False)
-
- # Adding field 'Application.gender'
- db.add_column('allotter_application', 'gender', self.gf('django.db.models.fields.CharField')(default='', max_length=2), keep_default=False)
-
- # Adding field 'Application.cent'
- db.add_column('allotter_application', 'cent', self.gf('django.db.models.fields.IntegerField')(default='', max_length=10), keep_default=False)
-
- # Adding field 'Application.cgy'
- db.add_column('allotter_application', 'cgy', self.gf('django.db.models.fields.CharField')(default='', max_length=10), keep_default=False)
-
- # Adding field 'Application.pd'
- db.add_column('allotter_application', 'pd', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False)
-
- # Removing M2M table for field options on 'Application'
- db.delete_table('allotter_application_options')
-
-
- def backwards(self, orm):
-
- # Adding field 'Profile.category'
- db.add_column('allotter_profile', 'category', self.gf('django.db.models.fields.CharField')(default='', max_length=30), keep_default=False)
-
- # Adding field 'Profile.exam_code'
- db.add_column('allotter_profile', 'exam_code', self.gf('django.db.models.fields.CharField')(default='', max_length=30), keep_default=False)
-
- # Adding field 'Profile.application_number'
- db.add_column('allotter_profile', 'application_number', self.gf('django.db.models.fields.IntegerField')(default='', max_length=20), keep_default=False)
-
- # Adding field 'Profile.pd'
- db.add_column('allotter_profile', 'pd', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False)
-
- # Adding field 'Profile.gender'
- db.add_column('allotter_profile', 'gender', self.gf('django.db.models.fields.CharField')(default='', max_length=10), keep_default=False)
-
- # Adding field 'Profile.rank'
- db.add_column('allotter_profile', 'rank', self.gf('django.db.models.fields.IntegerField')(default='', max_length=6), keep_default=False)
-
- # Adding field 'Option.seats'
- db.add_column('allotter_option', 'seats', self.gf('django.db.models.fields.IntegerField')(default=''), keep_default=False)
-
- # Deleting field 'Option.opt_code'
- db.delete_column('allotter_option', 'opt_code')
-
- # Adding field 'Application.status'
- db.add_column('allotter_application', 'status', self.gf('django.db.models.fields.CharField')(default='', max_length=24), keep_default=False)
-
- # Adding field 'Application.exam_taken'
- db.add_column('allotter_application', 'exam_taken', self.gf('django.db.models.fields.related.ForeignKey')(default='', to=orm['allotter.Exam']), keep_default=False)
-
- # Adding field 'Application.editable'
- db.add_column('allotter_application', 'editable', self.gf('django.db.models.fields.BooleanField')(default=True), keep_default=False)
-
- # Deleting field 'Application.options_selected'
- db.delete_column('allotter_application', 'options_selected')
-
- # Deleting field 'Application.np'
- db.delete_column('allotter_application', 'np')
-
- # Deleting field 'Application.first_paper'
- db.delete_column('allotter_application', 'first_paper_id')
-
- # Deleting field 'Application.second_paper'
- db.delete_column('allotter_application', 'second_paper_id')
-
- # Deleting field 'Application.nat'
- db.delete_column('allotter_application', 'nat')
-
- # Deleting field 'Application.gender'
- db.delete_column('allotter_application', 'gender')
-
- # Deleting field 'Application.cent'
- db.delete_column('allotter_application', 'cent')
-
- # Deleting field 'Application.cgy'
- db.delete_column('allotter_application', 'cgy')
-
- # Deleting field 'Application.pd'
- db.delete_column('allotter_application', 'pd')
-
- # Adding M2M table for field options on 'Application'
- db.create_table('allotter_application_options', (
- ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
- ('application', models.ForeignKey(orm['allotter.application'], null=False)),
- ('option', models.ForeignKey(orm['allotter.option'], null=False))
- ))
- db.create_unique('allotter_application_options', ['application_id', 'option_id'])
-
-
- models = {
- 'allotter.application': {
- 'Meta': {'object_name': 'Application'},
- 'cent': ('django.db.models.fields.IntegerField', [], {'max_length': '10'}),
- 'cgy': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
- 'first_paper': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'first_paper'", 'to': "orm['allotter.Exam']"}),
- 'gender': ('django.db.models.fields.CharField', [], {'max_length': '2'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'nat': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
- 'np': ('django.db.models.fields.IntegerField', [], {'max_length': '2'}),
- 'options_selected': ('django.db.models.fields.CharField', [], {'max_length': '5000'}),
- 'pd': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'profile': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['allotter.Profile']"}),
- 'second_paper': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'second_paper'", 'null': 'True', 'to': "orm['allotter.Exam']"}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
- },
- 'allotter.exam': {
- 'Meta': {'object_name': 'Exam'},
- 'exam_code': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'exam_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
- },
- 'allotter.option': {
- 'Meta': {'object_name': 'Option'},
- 'exam': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['allotter.Exam']", 'symmetrical': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'opt_code': ('django.db.models.fields.IntegerField', [], {'max_length': '3'}),
- 'opt_name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'allotter.profile': {
- 'Meta': {'object_name': 'Profile'},
- 'dob': ('django.db.models.fields.DateField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'})
- },
- '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'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- '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'})
- }
- }
-
- complete_apps = ['allotter']
diff --git a/allotter/migrations/0006_auto__add_field_profile_application__del_field_application_profile__de.py b/allotter/migrations/0006_auto__add_field_profile_application__del_field_application_profile__de.py
deleted file mode 100644
index bf4ecc8..0000000
--- a/allotter/migrations/0006_auto__add_field_profile_application__del_field_application_profile__de.py
+++ /dev/null
@@ -1,105 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
-
- # Adding field 'Profile.application'
- db.add_column('allotter_profile', 'application', self.gf('django.db.models.fields.related.ForeignKey')(default='', to=orm['allotter.Application']), keep_default=False)
-
- # Deleting field 'Application.profile'
- db.delete_column('allotter_application', 'profile_id')
-
- # Deleting field 'Application.user'
- db.delete_column('allotter_application', 'user_id')
-
-
- def backwards(self, orm):
-
- # Deleting field 'Profile.application'
- db.delete_column('allotter_profile', 'application_id')
-
- # Adding field 'Application.profile'
- db.add_column('allotter_application', 'profile', self.gf('django.db.models.fields.related.ForeignKey')(default='', to=orm['allotter.Profile']), keep_default=False)
-
- # Adding field 'Application.user'
- db.add_column('allotter_application', 'user', self.gf('django.db.models.fields.related.ForeignKey')(default='', to=orm['auth.User']), keep_default=False)
-
-
- models = {
- 'allotter.application': {
- 'Meta': {'object_name': 'Application'},
- 'cent': ('django.db.models.fields.IntegerField', [], {'max_length': '10'}),
- 'cgy': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
- 'first_paper': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'first_paper'", 'to': "orm['allotter.Exam']"}),
- 'gender': ('django.db.models.fields.CharField', [], {'max_length': '2'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'nat': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
- 'np': ('django.db.models.fields.IntegerField', [], {'max_length': '2'}),
- 'options_selected': ('django.db.models.fields.CharField', [], {'max_length': '5000', 'blank': 'True'}),
- 'pd': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'second_paper': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'second_paper'", 'null': 'True', 'to': "orm['allotter.Exam']"})
- },
- 'allotter.exam': {
- 'Meta': {'object_name': 'Exam'},
- 'exam_code': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'exam_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
- },
- 'allotter.option': {
- 'Meta': {'object_name': 'Option'},
- 'exam': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['allotter.Exam']", 'symmetrical': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'opt_code': ('django.db.models.fields.IntegerField', [], {'max_length': '3'}),
- 'opt_name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'allotter.profile': {
- 'Meta': {'object_name': 'Profile'},
- 'application': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['allotter.Application']"}),
- 'dob': ('django.db.models.fields.DateField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'})
- },
- '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'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- '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'})
- }
- }
-
- complete_apps = ['allotter']
diff --git a/allotter/migrations/0007_auto__add_field_application_user.py b/allotter/migrations/0007_auto__add_field_application_user.py
deleted file mode 100644
index d6377ab..0000000
--- a/allotter/migrations/0007_auto__add_field_application_user.py
+++ /dev/null
@@ -1,94 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
-
- # Adding field 'Application.user'
- db.add_column('allotter_application', 'user', self.gf('django.db.models.fields.related.OneToOneField')(default='', to=orm['auth.User'], unique=True), keep_default=False)
-
-
- def backwards(self, orm):
-
- # Deleting field 'Application.user'
- db.delete_column('allotter_application', 'user_id')
-
-
- models = {
- 'allotter.application': {
- 'Meta': {'object_name': 'Application'},
- 'cent': ('django.db.models.fields.IntegerField', [], {'max_length': '10'}),
- 'cgy': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
- 'first_paper': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'first_paper'", 'to': "orm['allotter.Exam']"}),
- 'gender': ('django.db.models.fields.CharField', [], {'max_length': '2'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'nat': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
- 'np': ('django.db.models.fields.IntegerField', [], {'max_length': '2'}),
- 'options_selected': ('django.db.models.fields.CharField', [], {'max_length': '5000', 'blank': 'True'}),
- 'pd': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'second_paper': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'second_paper'", 'null': 'True', 'to': "orm['allotter.Exam']"}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'})
- },
- 'allotter.exam': {
- 'Meta': {'object_name': 'Exam'},
- 'exam_code': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'exam_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
- },
- 'allotter.option': {
- 'Meta': {'object_name': 'Option'},
- 'exam': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['allotter.Exam']", 'symmetrical': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'opt_code': ('django.db.models.fields.IntegerField', [], {'max_length': '3'}),
- 'opt_name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'allotter.profile': {
- 'Meta': {'object_name': 'Profile'},
- 'application': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['allotter.Application']"}),
- 'dob': ('django.db.models.fields.DateField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'})
- },
- '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'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- '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'})
- }
- }
-
- complete_apps = ['allotter']
diff --git a/allotter/migrations/__init__.py b/allotter/migrations/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/allotter/migrations/__init__.py
+++ /dev/null