# -*- coding: 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 'Student'
        db.create_table(u'academic_student', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('student_name', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('roll_number', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('course', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['college.Course'], null=True, blank=True)),
            ('batch', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['college.Batch'], null=True, blank=True)),
            ('dob', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
            ('address', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('mobile_number', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('land_number', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('email', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('blood_group', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('doj', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
            ('photo', self.gf('django.db.models.fields.files.ImageField')(max_length=100, null=True, blank=True)),
            ('certificates_submitted', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('certificates_remarks', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('certificates_file', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('id_proofs_submitted', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('id_proofs_remarks', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('id_proofs_file', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('guardian_name', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('guardian_address', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('relationship', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('guardian_mobile_number', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('guardian_land_number', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('guardian_email', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
        ))
        db.send_create_signal(u'academic', ['Student'])

        # Adding M2M table for field qualified_exam on 'Student'
        db.create_table(u'academic_student_qualified_exam', (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('student', models.ForeignKey(orm[u'academic.student'], null=False)),
            ('qualifiedexam', models.ForeignKey(orm[u'college.qualifiedexam'], null=False))
        ))
        db.create_unique(u'academic_student_qualified_exam', ['student_id', 'qualifiedexam_id'])

        # Adding M2M table for field technical_qualification on 'Student'
        db.create_table(u'academic_student_technical_qualification', (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('student', models.ForeignKey(orm[u'academic.student'], null=False)),
            ('technicalqualification', models.ForeignKey(orm[u'college.technicalqualification'], null=False))
        ))
        db.create_unique(u'academic_student_technical_qualification', ['student_id', 'technicalqualification_id'])

    def backwards(self, orm):
        # Deleting model 'Student'
        db.delete_table(u'academic_student')

        # Removing M2M table for field qualified_exam on 'Student'
        db.delete_table('academic_student_qualified_exam')

        # Removing M2M table for field technical_qualification on 'Student'
        db.delete_table('academic_student_technical_qualification')

    models = {
        u'academic.student': {
            'Meta': {'object_name': 'Student'},
            'address': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'batch': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['college.Batch']", 'null': 'True', 'blank': 'True'}),
            'blood_group': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'certificates_file': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'certificates_remarks': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'certificates_submitted': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'course': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['college.Course']", 'null': 'True', 'blank': 'True'}),
            'dob': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
            'doj': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
            'email': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'guardian_address': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'guardian_email': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'guardian_land_number': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'guardian_mobile_number': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'guardian_name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'id_proofs_file': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'id_proofs_remarks': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'id_proofs_submitted': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'land_number': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'mobile_number': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'photo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'qualified_exam': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['college.QualifiedExam']", 'null': 'True', 'blank': 'True'}),
            'relationship': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'roll_number': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'student_name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'technical_qualification': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['college.TechnicalQualification']", 'null': 'True', 'blank': 'True'})
        },
        u'college.batch': {
            'Meta': {'object_name': 'Batch'},
            'batch': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'branch': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['college.CourseBranch']", 'null': 'True', 'blank': 'True'}),
            'course': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['college.Course']", 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
        },
        u'college.course': {
            'Meta': {'object_name': 'Course'},
            'course': ('django.db.models.fields.CharField', [], {'max_length': '200', 'unique': 'True', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
        },
        u'college.coursebranch': {
            'Meta': {'object_name': 'CourseBranch'},
            'branch': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
        },
        u'college.qualifiedexam': {
            'Meta': {'object_name': 'QualifiedExam'},
            'authority': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'})
        },
        u'college.technicalqualification': {
            'Meta': {'object_name': 'TechnicalQualification'},
            'authority': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'})
        }
    }

    complete_apps = ['academic']
fb953cdac10a87b9eea0b5b8b32f6c147092067d
<mask token>

<mask token>


class Migration(SchemaMigration):

    def forwards(self, orm):
        db.create_table(u'academic_student', ((u'id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'student_name', self.gf('django.db.models.fields.CharField')(
            max_length=200, null=True, blank=True)), ('roll_number', self.
            gf('django.db.models.fields.CharField')(max_length=200, null=
            True, blank=True)), ('course', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'college.Course'], null=True, blank=True)), ('batch', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'college.Batch'], null=True, blank=True)), ('dob', self.gf(
            'django.db.models.fields.DateField')(null=True, blank=True)), (
            'address', self.gf('django.db.models.fields.CharField')(
            max_length=200, null=True, blank=True)), ('mobile_number', self
            .gf('django.db.models.fields.CharField')(max_length=200, null=
            True, blank=True)), ('land_number', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('email', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('blood_group', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('doj', self.gf(
            'django.db.models.fields.DateField')(null=True, blank=True)), (
            'photo', self.gf('django.db.models.fields.files.ImageField')(
            max_length=100, null=True, blank=True)), (
            'certificates_submitted', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('certificates_remarks', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('certificates_file', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('id_proofs_submitted', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('id_proofs_remarks', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('id_proofs_file', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('guardian_name', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('guardian_address', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('relationship', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('guardian_mobile_number', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('guardian_land_number', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('guardian_email', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True))))
        db.send_create_signal(u'academic', ['Student'])
        db.create_table(u'academic_student_qualified_exam', (('id', models.
            AutoField(verbose_name='ID', primary_key=True, auto_created=
            True)), ('student', models.ForeignKey(orm[u'academic.student'],
            null=False)), ('qualifiedexam', models.ForeignKey(orm[
            u'college.qualifiedexam'], null=False))))
        db.create_unique(u'academic_student_qualified_exam', ['student_id',
            'qualifiedexam_id'])
        db.create_table(u'academic_student_technical_qualification', (('id',
            models.AutoField(verbose_name='ID', primary_key=True,
            auto_created=True)), ('student', models.ForeignKey(orm[
            u'academic.student'], null=False)), ('technicalqualification',
            models.ForeignKey(orm[u'college.technicalqualification'], null=
            False))))
        db.create_unique(u'academic_student_technical_qualification', [
            'student_id', 'technicalqualification_id'])

    def backwards(self, orm):
        db.delete_table(u'academic_student')
        db.delete_table('academic_student_qualified_exam')
        db.delete_table('academic_student_technical_qualification')
    <mask token>
    <mask token>

<mask token>


class Migration(SchemaMigration):

    def forwards(self, orm):
        db.create_table(u'academic_student', ((u'id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'student_name', self.gf('django.db.models.fields.CharField')(
            max_length=200, null=True, blank=True)), ('roll_number', self.
            gf('django.db.models.fields.CharField')(max_length=200, null=
            True, blank=True)), ('course', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'college.Course'], null=True, blank=True)), ('batch', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'college.Batch'], null=True, blank=True)), ('dob', self.gf(
            'django.db.models.fields.DateField')(null=True, blank=True)), (
            'address', self.gf('django.db.models.fields.CharField')(
            max_length=200, null=True, blank=True)), ('mobile_number', self
            .gf('django.db.models.fields.CharField')(max_length=200, null=
            True, blank=True)), ('land_number', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('email', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('blood_group', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('doj', self.gf(
            'django.db.models.fields.DateField')(null=True, blank=True)), (
            'photo', self.gf('django.db.models.fields.files.ImageField')(
            max_length=100, null=True, blank=True)), (
            'certificates_submitted', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('certificates_remarks', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('certificates_file', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('id_proofs_submitted', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('id_proofs_remarks', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('id_proofs_file', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('guardian_name', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('guardian_address', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('relationship', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('guardian_mobile_number', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('guardian_land_number', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('guardian_email', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True))))
        db.send_create_signal(u'academic', ['Student'])
        db.create_table(u'academic_student_qualified_exam', (('id', models.
            AutoField(verbose_name='ID', primary_key=True, auto_created=
            True)), ('student', models.ForeignKey(orm[u'academic.student'],
            null=False)), ('qualifiedexam', models.ForeignKey(orm[
            u'college.qualifiedexam'], null=False))))
        db.create_unique(u'academic_student_qualified_exam', ['student_id',
            'qualifiedexam_id'])
        db.create_table(u'academic_student_technical_qualification', (('id',
            models.AutoField(verbose_name='ID', primary_key=True,
            auto_created=True)), ('student', models.ForeignKey(orm[
            u'academic.student'], null=False)), ('technicalqualification',
            models.ForeignKey(orm[u'college.technicalqualification'], null=
            False))))
        db.create_unique(u'academic_student_technical_qualification', [
            'student_id', 'technicalqualification_id'])

    def backwards(self, orm):
        db.delete_table(u'academic_student')
        db.delete_table('academic_student_qualified_exam')
        db.delete_table('academic_student_technical_qualification')
    models = {u'academic.student': {'Meta': {'object_name': 'Student'},
        'address': ('django.db.models.fields.CharField', [], {'max_length':
        '200', 'null': 'True', 'blank': 'True'}), 'batch': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        u"orm['college.Batch']", 'null': 'True', 'blank': 'True'}),
        'blood_group': ('django.db.models.fields.CharField', [], {
        'max_length': '200', 'null': 'True', 'blank': 'True'}),
        'certificates_file': ('django.db.models.fields.CharField', [], {
        'max_length': '200', 'null': 'True', 'blank': 'True'}),
        'certificates_remarks': ('django.db.models.fields.CharField', [], {
        'max_length': '200', 'null': 'True', 'blank': 'True'}),
        'certificates_submitted': ('django.db.models.fields.CharField', [],
        {'max_length': '200', 'null': 'True', 'blank': 'True'}), 'course':
        ('django.db.models.fields.related.ForeignKey', [], {'to':
        u"orm['college.Course']", 'null': 'True', 'blank': 'True'}), 'dob':
        ('django.db.models.fields.DateField', [], {'null': 'True', 'blank':
        'True'}), 'doj': ('django.db.models.fields.DateField', [], {'null':
        'True', 'blank': 'True'}), 'email': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), 'guardian_address': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), 'guardian_email': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), 'guardian_land_number': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), 'guardian_mobile_number': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), 'guardian_name': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'id_proofs_file': ('django.db.models.fields.CharField', [], {
        'max_length': '200', 'null': 'True', 'blank': 'True'}),
        'id_proofs_remarks': ('django.db.models.fields.CharField', [], {
        'max_length': '200', 'null': 'True', 'blank': 'True'}),
        'id_proofs_submitted': ('django.db.models.fields.CharField', [], {
        'max_length': '200', 'null': 'True', 'blank': 'True'}),
        'land_number': ('django.db.models.fields.CharField', [], {
        'max_length': '200', 'null': 'True', 'blank': 'True'}),
        'mobile_number': ('django.db.models.fields.CharField', [], {
        'max_length': '200', 'null': 'True', 'blank': 'True'}), 'photo': (
        'django.db.models.fields.files.ImageField', [], {'max_length':
        '100', 'null': 'True', 'blank': 'True'}), 'qualified_exam': (
        'django.db.models.fields.related.ManyToManyField', [], {
        'symmetrical': 'False', 'to': u"orm['college.QualifiedExam']",
        'null': 'True', 'blank': 'True'}), 'relationship': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), 'roll_number': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), 'student_name': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), 'technical_qualification': (
        'django.db.models.fields.related.ManyToManyField', [], {
        'symmetrical': 'False', 'to':
        u"orm['college.TechnicalQualification']", 'null': 'True', 'blank':
        'True'})}, u'college.batch': {'Meta': {'object_name': 'Batch'},
        'batch': ('django.db.models.fields.CharField', [], {'max_length':
        '200', 'null': 'True', 'blank': 'True'}), 'branch': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        u"orm['college.CourseBranch']", 'null': 'True', 'blank': 'True'}),
        'course': ('django.db.models.fields.related.ForeignKey', [], {'to':
        u"orm['college.Course']", 'null': 'True', 'blank': 'True'}), u'id':
        ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})},
        u'college.course': {'Meta': {'object_name': 'Course'}, 'course': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'unique': 'True', 'null': 'True', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'})},
        u'college.coursebranch': {'Meta': {'object_name': 'CourseBranch'},
        'branch': ('django.db.models.fields.CharField', [], {'max_length':
        '200', 'null': 'True', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'})},
        u'college.qualifiedexam': {'Meta': {'object_name': 'QualifiedExam'},
        'authority': ('django.db.models.fields.CharField', [], {
        'max_length': '200', 'null': 'True', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'name': ('django.db.models.fields.CharField', [], {'max_length':
        '200', 'null': 'True', 'blank': 'True'})},
        u'college.technicalqualification': {'Meta': {'object_name':
        'TechnicalQualification'}, 'authority': (
        'django.db.models.fields.CharField', [], {'max_length': '30',
        'null': 'True', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'name': ('django.db.models.fields.CharField', [], {'max_length':
        '30', 'null': 'True', 'blank': 'True'})}}
    complete_apps = ['academic']

import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models


class Migration(SchemaMigration):

    def forwards(self, orm):
        db.create_table(u'academic_student', ((u'id', self.gf(
            'django.db.models.fields.AutoField')(primary_key=True)), (
            'student_name', self.gf('django.db.models.fields.CharField')(
            max_length=200, null=True, blank=True)), ('roll_number', self.
            gf('django.db.models.fields.CharField')(max_length=200, null=
            True, blank=True)), ('course', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'college.Course'], null=True, blank=True)), ('batch', self.gf(
            'django.db.models.fields.related.ForeignKey')(to=orm[
            'college.Batch'], null=True, blank=True)), ('dob', self.gf(
            'django.db.models.fields.DateField')(null=True, blank=True)), (
            'address', self.gf('django.db.models.fields.CharField')(
            max_length=200, null=True, blank=True)), ('mobile_number', self
            .gf('django.db.models.fields.CharField')(max_length=200, null=
            True, blank=True)), ('land_number', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('email', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('blood_group', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('doj', self.gf(
            'django.db.models.fields.DateField')(null=True, blank=True)), (
            'photo', self.gf('django.db.models.fields.files.ImageField')(
            max_length=100, null=True, blank=True)), (
            'certificates_submitted', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('certificates_remarks', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('certificates_file', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('id_proofs_submitted', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('id_proofs_remarks', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('id_proofs_file', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('guardian_name', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('guardian_address', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('relationship', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('guardian_mobile_number', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('guardian_land_number', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True)), ('guardian_email', self.gf(
            'django.db.models.fields.CharField')(max_length=200, null=True,
            blank=True))))
        db.send_create_signal(u'academic', ['Student'])
        db.create_table(u'academic_student_qualified_exam', (('id', models.
            AutoField(verbose_name='ID', primary_key=True, auto_created=
            True)), ('student', models.ForeignKey(orm[u'academic.student'],
            null=False)), ('qualifiedexam', models.ForeignKey(orm[
            u'college.qualifiedexam'], null=False))))
        db.create_unique(u'academic_student_qualified_exam', ['student_id',
            'qualifiedexam_id'])
        db.create_table(u'academic_student_technical_qualification', (('id',
            models.AutoField(verbose_name='ID', primary_key=True,
            auto_created=True)), ('student', models.ForeignKey(orm[
            u'academic.student'], null=False)), ('technicalqualification',
            models.ForeignKey(orm[u'college.technicalqualification'], null=
            False))))
        db.create_unique(u'academic_student_technical_qualification', [
            'student_id', 'technicalqualification_id'])

    def backwards(self, orm):
        db.delete_table(u'academic_student')
        db.delete_table('academic_student_qualified_exam')
        db.delete_table('academic_student_technical_qualification')
    models = {u'academic.student': {'Meta': {'object_name': 'Student'},
        'address': ('django.db.models.fields.CharField', [], {'max_length':
        '200', 'null': 'True', 'blank': 'True'}), 'batch': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        u"orm['college.Batch']", 'null': 'True', 'blank': 'True'}),
        'blood_group': ('django.db.models.fields.CharField', [], {
        'max_length': '200', 'null': 'True', 'blank': 'True'}),
        'certificates_file': ('django.db.models.fields.CharField', [], {
        'max_length': '200', 'null': 'True', 'blank': 'True'}),
        'certificates_remarks': ('django.db.models.fields.CharField', [], {
        'max_length': '200', 'null': 'True', 'blank': 'True'}),
        'certificates_submitted': ('django.db.models.fields.CharField', [],
        {'max_length': '200', 'null': 'True', 'blank': 'True'}), 'course':
        ('django.db.models.fields.related.ForeignKey', [], {'to':
        u"orm['college.Course']", 'null': 'True', 'blank': 'True'}), 'dob':
        ('django.db.models.fields.DateField', [], {'null': 'True', 'blank':
        'True'}), 'doj': ('django.db.models.fields.DateField', [], {'null':
        'True', 'blank': 'True'}), 'email': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), 'guardian_address': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), 'guardian_email': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), 'guardian_land_number': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), 'guardian_mobile_number': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), 'guardian_name': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'id_proofs_file': ('django.db.models.fields.CharField', [], {
        'max_length': '200', 'null': 'True', 'blank': 'True'}),
        'id_proofs_remarks': ('django.db.models.fields.CharField', [], {
        'max_length': '200', 'null': 'True', 'blank': 'True'}),
        'id_proofs_submitted': ('django.db.models.fields.CharField', [], {
        'max_length': '200', 'null': 'True', 'blank': 'True'}),
        'land_number': ('django.db.models.fields.CharField', [], {
        'max_length': '200', 'null': 'True', 'blank': 'True'}),
        'mobile_number': ('django.db.models.fields.CharField', [], {
        'max_length': '200', 'null': 'True', 'blank': 'True'}), 'photo': (
        'django.db.models.fields.files.ImageField', [], {'max_length':
        '100', 'null': 'True', 'blank': 'True'}), 'qualified_exam': (
        'django.db.models.fields.related.ManyToManyField', [], {
        'symmetrical': 'False', 'to': u"orm['college.QualifiedExam']",
        'null': 'True', 'blank': 'True'}), 'relationship': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), 'roll_number': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), 'student_name': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'null': 'True', 'blank': 'True'}), 'technical_qualification': (
        'django.db.models.fields.related.ManyToManyField', [], {
        'symmetrical': 'False', 'to':
        u"orm['college.TechnicalQualification']", 'null': 'True', 'blank':
        'True'})}, u'college.batch': {'Meta': {'object_name': 'Batch'},
        'batch': ('django.db.models.fields.CharField', [], {'max_length':
        '200', 'null': 'True', 'blank': 'True'}), 'branch': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        u"orm['college.CourseBranch']", 'null': 'True', 'blank': 'True'}),
        'course': ('django.db.models.fields.related.ForeignKey', [], {'to':
        u"orm['college.Course']", 'null': 'True', 'blank': 'True'}), u'id':
        ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})},
        u'college.course': {'Meta': {'object_name': 'Course'}, 'course': (
        'django.db.models.fields.CharField', [], {'max_length': '200',
        'unique': 'True', 'null': 'True', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'})},
        u'college.coursebranch': {'Meta': {'object_name': 'CourseBranch'},
        'branch': ('django.db.models.fields.CharField', [], {'max_length':
        '200', 'null': 'True', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'})},
        u'college.qualifiedexam': {'Meta': {'object_name': 'QualifiedExam'},
        'authority': ('django.db.models.fields.CharField', [], {
        'max_length': '200', 'null': 'True', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'name': ('django.db.models.fields.CharField', [], {'max_length':
        '200', 'null': 'True', 'blank': 'True'})},
        u'college.technicalqualification': {'Meta': {'object_name':
        'TechnicalQualification'}, 'authority': (
        'django.db.models.fields.CharField', [], {'max_length': '30',
        'null': 'True', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'name': ('django.db.models.fields.CharField', [], {'max_length':
        '30', 'null': 'True', 'blank': 'True'})}}
    complete_apps = ['academic']

# -*- coding: 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 'Student'
        db.create_table(u'academic_student', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('student_name', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('roll_number', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('course', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['college.Course'], null=True, blank=True)),
            ('batch', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['college.Batch'], null=True, blank=True)),
            ('dob', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
            ('address', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('mobile_number', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('land_number', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('email', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('blood_group', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('doj', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
            ('photo', self.gf('django.db.models.fields.files.ImageField')(max_length=100, null=True, blank=True)),
            ('certificates_submitted', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('certificates_remarks', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('certificates_file', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('id_proofs_submitted', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('id_proofs_remarks', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('id_proofs_file', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('guardian_name', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('guardian_address', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('relationship', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('guardian_mobile_number', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('guardian_land_number', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
            ('guardian_email', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
        ))
        db.send_create_signal(u'academic', ['Student'])

        # Adding M2M table for field qualified_exam on 'Student'
        db.create_table(u'academic_student_qualified_exam', (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('student', models.ForeignKey(orm[u'academic.student'], null=False)),
            ('qualifiedexam', models.ForeignKey(orm[u'college.qualifiedexam'], null=False))
        ))
        db.create_unique(u'academic_student_qualified_exam', ['student_id', 'qualifiedexam_id'])

        # Adding M2M table for field technical_qualification on 'Student'
        db.create_table(u'academic_student_technical_qualification', (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('student', models.ForeignKey(orm[u'academic.student'], null=False)),
            ('technicalqualification', models.ForeignKey(orm[u'college.technicalqualification'], null=False))
        ))
        db.create_unique(u'academic_student_technical_qualification', ['student_id', 'technicalqualification_id'])

    def backwards(self, orm):
        # Deleting model 'Student'
        db.delete_table(u'academic_student')

        # Removing M2M table for field qualified_exam on 'Student'
        db.delete_table('academic_student_qualified_exam')

        # Removing M2M table for field technical_qualification on 'Student'
        db.delete_table('academic_student_technical_qualification')

    models = {
        u'academic.student': {
            'Meta': {'object_name': 'Student'},
            'address': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'batch': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['college.Batch']", 'null': 'True', 'blank': 'True'}),
            'blood_group': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'certificates_file': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'certificates_remarks': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'certificates_submitted': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'course': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['college.Course']", 'null': 'True', 'blank': 'True'}),
            'dob': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
            'doj': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
            'email': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'guardian_address': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'guardian_email': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'guardian_land_number': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'guardian_mobile_number': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'guardian_name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'id_proofs_file': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'id_proofs_remarks': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'id_proofs_submitted': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'land_number': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'mobile_number': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'photo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'qualified_exam': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['college.QualifiedExam']", 'null': 'True', 'blank': 'True'}),
            'relationship': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'roll_number': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'student_name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'technical_qualification': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['college.TechnicalQualification']", 'null': 'True', 'blank': 'True'})
        },
        u'college.batch': {
            'Meta': {'object_name': 'Batch'},
            'batch': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'branch': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['college.CourseBranch']", 'null': 'True', 'blank': 'True'}),
            'course': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['college.Course']", 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
        },
        u'college.course': {
            'Meta': {'object_name': 'Course'},
            'course': ('django.db.models.fields.CharField', [], {'max_length': '200', 'unique': 'True', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
        },
        u'college.coursebranch': {
            'Meta': {'object_name': 'CourseBranch'},
            'branch': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
        },
        u'college.qualifiedexam': {
            'Meta': {'object_name': 'QualifiedExam'},
            'authority': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'})
        },
        u'college.technicalqualification': {
            'Meta': {'object_name': 'TechnicalQualification'},
            'authority': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'})
        }
    }

    complete_apps = ['academic']