# -*- 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):
        db.rename_column(u'duchemin_dcbook', 'part_sb_id', 'part_cb_id')


    def backwards(self, orm):
        db.rename_column(u'duchemin_dcbook', 'part_cb_id', 'part_sb_id')


    models = {
        u'auth.group': {
            'Meta': {'object_name': 'Group'},
            u'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': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
        },
        u'auth.permission': {
            'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
        },
        u'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': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
            u'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': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
        },
        u'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'}),
            u'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'})
        },
        'duchemin.dcanalysis': {
            'Meta': {'object_name': 'DCAnalysis'},
            'analyst': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'analyses'", 'to_field': "'person_id'", 'to': "orm['duchemin.DCPerson']"}),
            'cadence': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'cadence_alter': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'cadence_final_tone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'cadence_kind': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'cadence_role_cantz': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'cadence_role_tenz': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'composition_number': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pieces'", 'to_field': "'piece_id'", 'to': "orm['duchemin.DCPiece']"}),
            'earlier_phrase': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'needs_review': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'other_contrapuntal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
            'other_formulas': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'other_pres_type': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'phrase_number': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'phrases'", 'to_field': "'phrase_id'", 'to': "orm['duchemin.DCPhrase']"}),
            'repeat_exact_varied': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'repeat_kind': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'start_measure': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
            'stop_measure': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
            'text_treatment': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
            'timestamp': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'voice_role_above': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_below': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_com1': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_com2': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_dux1': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_dux2': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_fifth': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_fourth': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_lo1_nim': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_lo2_nim': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_un_oct': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_up1_nim': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_up2_nim': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voices_53_lo': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voices_53_up': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voices_p3_lo': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voices_p3_up': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voices_p6_lo': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voices_p6_up': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'})
        },
        'duchemin.dcbook': {
            'Meta': {'object_name': 'DCBook'},
            'book_id': ('django.db.models.fields.IntegerField', [], {'unique': 'True', 'db_index': 'True'}),
            'cesr': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'complete_title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
            'date': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'location': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'num_compositions': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'num_pages': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'part_cb_id': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'part_st_id': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'place_publication': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'publisher': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'remarks': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
            'rism': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'title': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '128', 'null': 'True', 'blank': 'True'}),
            'volumes': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'})
        },
        'duchemin.dccomment': {
            'Meta': {'object_name': 'DCComment'},
            'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': u"orm['auth.User']"}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'piece': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['duchemin.DCPiece']"}),
            'text': ('django.db.models.fields.TextField', [], {}),
            'time': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
        },
        'duchemin.dccontentblock': {
            'Meta': {'object_name': 'DCContentBlock'},
            'body': ('django.db.models.fields.TextField', [], {}),
            'content_type': ('django.db.models.fields.CharField', [], {'default': "'block'", 'max_length': '32'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'position': ('django.db.models.fields.IntegerField', [], {'default': '1'}),
            'published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'title': ('django.db.models.fields.CharField', [], {'max_length': '255'})
        },
        'duchemin.dcfile': {
            'Meta': {'object_name': 'DCFile'},
            'attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}),
            'description': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
        },
        'duchemin.dcperson': {
            'Meta': {'ordering': "['surname']", 'object_name': 'DCPerson'},
            'active_date': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'alt_spelling': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'birth_date': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'death_date': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'given_name': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'person_id': ('django.db.models.fields.CharField', [], {'max_length': '16', 'unique': 'True', 'null': 'True', 'db_index': 'True'}),
            'remarks': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'surname': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'})
        },
        'duchemin.dcphrase': {
            'Meta': {'ordering': "['piece_id', 'phrase_num']", 'object_name': 'DCPhrase'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'phrase_id': ('django.db.models.fields.IntegerField', [], {'unique': 'True', 'db_index': 'True'}),
            'phrase_num': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
            'phrase_start': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}),
            'phrase_stop': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}),
            'phrase_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'piece_id': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['duchemin.DCPiece']", 'to_field': "'piece_id'"}),
            'rhyme': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'})
        },
        'duchemin.dcpiece': {
            'Meta': {'object_name': 'DCPiece'},
            'audio_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'book_id': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['duchemin.DCBook']", 'to_field': "'book_id'"}),
            'book_position': ('django.db.models.fields.IntegerField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'composer_id': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['duchemin.DCPerson']", 'to_field': "'person_id'"}),
            'composer_src': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'forces': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'mei_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'ms_concordances': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
            'pdf_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'piece_id': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '16', 'db_index': 'True'}),
            'print_concordances': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
            'title': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'})
        },
        'duchemin.dcreconstruction': {
            'Meta': {'object_name': 'DCReconstruction'},
            'attachments': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['duchemin.DCFile']", 'symmetrical': 'False'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'piece': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['duchemin.DCPiece']", 'to_field': "'piece_id'"}),
            'reconstructor': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['duchemin.DCPerson']", 'to_field': "'person_id'"})
        },
        'duchemin.dcuserprofile': {
            'Meta': {'object_name': 'DCUserProfile'},
            'favourited_analysis': ('django.db.models.fields.related.ManyToManyField', [], {'db_index': 'True', 'to': "orm['duchemin.DCAnalysis']", 'symmetrical': 'False', 'blank': 'True'}),
            'favourited_piece': ('django.db.models.fields.related.ManyToManyField', [], {'db_index': 'True', 'to': "orm['duchemin.DCPiece']", 'symmetrical': 'False', 'blank': 'True'}),
            'favourited_reconstruction': ('django.db.models.fields.related.ManyToManyField', [], {'db_index': 'True', 'to': "orm['duchemin.DCReconstruction']", 'symmetrical': 'False', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'person': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'profile'", 'null': 'True', 'to': "orm['duchemin.DCPerson']"}),
            'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['auth.User']", 'unique': 'True'})
        }
    }

    complete_apps = ['duchemin']
90afd598d4b075859da27e7b43a79afa2f8ed3e9
<mask token>

<mask token>


class Migration(SchemaMigration):

    def forwards(self, orm):
        db.rename_column(u'duchemin_dcbook', 'part_sb_id', 'part_cb_id')

    def backwards(self, orm):
        db.rename_column(u'duchemin_dcbook', 'part_cb_id', 'part_sb_id')
    <mask token>
    <mask token>

<mask token>


class Migration(SchemaMigration):

    def forwards(self, orm):
        db.rename_column(u'duchemin_dcbook', 'part_sb_id', 'part_cb_id')

    def backwards(self, orm):
        db.rename_column(u'duchemin_dcbook', 'part_cb_id', 'part_sb_id')
    models = {u'auth.group': {'Meta': {'object_name': 'Group'}, u'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':
        u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}
        )}, u'auth.permission': {'Meta': {'ordering':
        "(u'content_type__app_label', u'content_type__model', u'codename')",
        'unique_together': "((u'content_type', u'codename'),)",
        'object_name': 'Permission'}, 'codename': (
        'django.db.models.fields.CharField', [], {'max_length': '100'}),
        'content_type': ('django.db.models.fields.related.ForeignKey', [],
        {'to': u"orm['contenttypes.ContentType']"}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'name': ('django.db.models.fields.CharField', [], {'max_length':
        '50'})}, u'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':
        u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
        u'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':
        u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}
        ), 'username': ('django.db.models.fields.CharField', [], {'unique':
        'True', 'max_length': '30'})}, u'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'}),
        u'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'})}, 'duchemin.dcanalysis': {'Meta': {
        'object_name': 'DCAnalysis'}, 'analyst': (
        'django.db.models.fields.related.ForeignKey', [], {'related_name':
        "'analyses'", 'to_field': "'person_id'", 'to':
        "orm['duchemin.DCPerson']"}), 'cadence': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'cadence_alter': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), 'cadence_final_tone': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'cadence_kind': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), 'cadence_role_cantz': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'cadence_role_tenz': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'comment': (
        'django.db.models.fields.TextField', [], {'null': 'True', 'blank':
        'True'}), 'composition_number': (
        'django.db.models.fields.related.ForeignKey', [], {'related_name':
        "'pieces'", 'to_field': "'piece_id'", 'to':
        "orm['duchemin.DCPiece']"}), 'earlier_phrase': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'needs_review': ('django.db.models.fields.BooleanField', [], {
        'default': 'False'}), 'other_contrapuntal': (
        'django.db.models.fields.CharField', [], {'max_length': '128',
        'null': 'True', 'blank': 'True'}), 'other_formulas': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), 'other_pres_type': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), 'phrase_number': (
        'django.db.models.fields.related.ForeignKey', [], {'related_name':
        "'phrases'", 'to_field': "'phrase_id'", 'to':
        "orm['duchemin.DCPhrase']"}), 'repeat_exact_varied': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'repeat_kind': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), 'start_measure': (
        'django.db.models.fields.IntegerField', [], {'null': 'True',
        'blank': 'True'}), 'stop_measure': (
        'django.db.models.fields.IntegerField', [], {'null': 'True',
        'blank': 'True'}), 'text_treatment': (
        'django.db.models.fields.CharField', [], {'max_length': '128',
        'null': 'True', 'blank': 'True'}), 'timestamp': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), 'voice_role_above': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_below': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_com1': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_com2': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_dux1': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_dux2': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_fifth': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_fourth': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_lo1_nim': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_lo2_nim': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_un_oct': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_up1_nim': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_up2_nim': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voices_53_lo': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voices_53_up': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voices_p3_lo': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voices_p3_up': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voices_p6_lo': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voices_p6_up': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'})}, 'duchemin.dcbook': {'Meta': {
        'object_name': 'DCBook'}, 'book_id': (
        'django.db.models.fields.IntegerField', [], {'unique': 'True',
        'db_index': 'True'}), 'cesr': ('django.db.models.fields.CharField',
        [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
        'complete_title': ('django.db.models.fields.CharField', [], {
        'max_length': '128', 'null': 'True', 'blank': 'True'}), 'date': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'location': ('django.db.models.fields.CharField', [], {'max_length':
        '16', 'null': 'True', 'blank': 'True'}), 'num_compositions': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'num_pages': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'part_cb_id': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'part_st_id': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'place_publication': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), 'publisher': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), 'remarks': (
        'django.db.models.fields.CharField', [], {'max_length': '128',
        'null': 'True', 'blank': 'True'}), 'rism': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'title': (
        'django.db.models.fields.CharField', [], {'db_index': 'True',
        'max_length': '128', 'null': 'True', 'blank': 'True'}), 'volumes':
        ('django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'})}, 'duchemin.dccomment': {'Meta':
        {'object_name': 'DCComment'}, 'author': (
        'django.db.models.fields.related.ForeignKey', [], {'related_name':
        "'comments'", 'to': u"orm['auth.User']"}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'piece': ('django.db.models.fields.related.ForeignKey', [], {
        'related_name': "'comments'", 'to': "orm['duchemin.DCPiece']"}),
        'text': ('django.db.models.fields.TextField', [], {}), 'time': (
        'django.db.models.fields.DateTimeField', [], {'auto_now': 'True',
        'blank': 'True'})}, 'duchemin.dccontentblock': {'Meta': {
        'object_name': 'DCContentBlock'}, 'body': (
        'django.db.models.fields.TextField', [], {}), 'content_type': (
        'django.db.models.fields.CharField', [], {'default': "'block'",
        'max_length': '32'}), u'id': ('django.db.models.fields.AutoField',
        [], {'primary_key': 'True'}), 'position': (
        'django.db.models.fields.IntegerField', [], {'default': '1'}),
        'published': ('django.db.models.fields.BooleanField', [], {
        'default': 'False'}), 'title': ('django.db.models.fields.CharField',
        [], {'max_length': '255'})}, 'duchemin.dcfile': {'Meta': {
        'object_name': 'DCFile'}, 'attachment': (
        'django.db.models.fields.files.FileField', [], {'max_length': '100'
        }), 'description': ('django.db.models.fields.CharField', [], {
        'max_length': '255', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'})},
        'duchemin.dcperson': {'Meta': {'ordering': "['surname']",
        'object_name': 'DCPerson'}, 'active_date': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'alt_spelling': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), 'birth_date': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'death_date': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'given_name': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'person_id': ('django.db.models.fields.CharField', [], {
        'max_length': '16', 'unique': 'True', 'null': 'True', 'db_index':
        'True'}), 'remarks': ('django.db.models.fields.TextField', [], {
        'null': 'True', 'blank': 'True'}), 'surname': (
        'django.db.models.fields.CharField', [], {'db_index': 'True',
        'max_length': '64', 'null': 'True', 'blank': 'True'})},
        'duchemin.dcphrase': {'Meta': {'ordering':
        "['piece_id', 'phrase_num']", 'object_name': 'DCPhrase'}, u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'phrase_id': ('django.db.models.fields.IntegerField', [], {'unique':
        'True', 'db_index': 'True'}), 'phrase_num': (
        'django.db.models.fields.IntegerField', [], {'null': 'True',
        'blank': 'True'}), 'phrase_start': (
        'django.db.models.fields.CharField', [], {'max_length': '4', 'null':
        'True', 'blank': 'True'}), 'phrase_stop': (
        'django.db.models.fields.CharField', [], {'max_length': '4', 'null':
        'True', 'blank': 'True'}), 'phrase_text': (
        'django.db.models.fields.CharField', [], {'max_length': '255',
        'null': 'True', 'blank': 'True'}), 'piece_id': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['duchemin.DCPiece']", 'to_field': "'piece_id'"}), 'rhyme': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'})}, 'duchemin.dcpiece': {'Meta': {
        'object_name': 'DCPiece'}, 'audio_link': (
        'django.db.models.fields.CharField', [], {'max_length': '255',
        'null': 'True', 'blank': 'True'}), 'book_id': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['duchemin.DCBook']", 'to_field': "'book_id'"}),
        'book_position': ('django.db.models.fields.IntegerField', [], {
        'max_length': '16', 'null': 'True', 'blank': 'True'}),
        'composer_id': ('django.db.models.fields.related.ForeignKey', [], {
        'to': "orm['duchemin.DCPerson']", 'to_field': "'person_id'"}),
        'composer_src': ('django.db.models.fields.CharField', [], {
        'max_length': '64', 'null': 'True', 'blank': 'True'}), 'forces': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'mei_link': ('django.db.models.fields.CharField', [], {'max_length':
        '255', 'null': 'True', 'blank': 'True'}), 'ms_concordances': (
        'django.db.models.fields.CharField', [], {'max_length': '128',
        'null': 'True', 'blank': 'True'}), 'pdf_link': (
        'django.db.models.fields.CharField', [], {'max_length': '255',
        'null': 'True', 'blank': 'True'}), 'piece_id': (
        'django.db.models.fields.CharField', [], {'unique': 'True',
        'max_length': '16', 'db_index': 'True'}), 'print_concordances': (
        'django.db.models.fields.CharField', [], {'max_length': '128',
        'null': 'True', 'blank': 'True'}), 'title': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'})}, 'duchemin.dcreconstruction': {
        'Meta': {'object_name': 'DCReconstruction'}, 'attachments': (
        'django.db.models.fields.related.ManyToManyField', [], {'to':
        "orm['duchemin.DCFile']", 'symmetrical': 'False'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'piece': ('django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['duchemin.DCPiece']", 'to_field': "'piece_id'"}),
        'reconstructor': ('django.db.models.fields.related.ForeignKey', [],
        {'to': "orm['duchemin.DCPerson']", 'to_field': "'person_id'"})},
        'duchemin.dcuserprofile': {'Meta': {'object_name': 'DCUserProfile'},
        'favourited_analysis': (
        'django.db.models.fields.related.ManyToManyField', [], {'db_index':
        'True', 'to': "orm['duchemin.DCAnalysis']", 'symmetrical': 'False',
        'blank': 'True'}), 'favourited_piece': (
        'django.db.models.fields.related.ManyToManyField', [], {'db_index':
        'True', 'to': "orm['duchemin.DCPiece']", 'symmetrical': 'False',
        'blank': 'True'}), 'favourited_reconstruction': (
        'django.db.models.fields.related.ManyToManyField', [], {'db_index':
        'True', 'to': "orm['duchemin.DCReconstruction']", 'symmetrical':
        'False', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'person': ('django.db.models.fields.related.ForeignKey', [], {
        'blank': 'True', 'related_name': "'profile'", 'null': 'True', 'to':
        "orm['duchemin.DCPerson']"}), 'user': (
        'django.db.models.fields.related.OneToOneField', [], {'to':
        u"orm['auth.User']", 'unique': 'True'})}}
    complete_apps = ['duchemin']

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.rename_column(u'duchemin_dcbook', 'part_sb_id', 'part_cb_id')

    def backwards(self, orm):
        db.rename_column(u'duchemin_dcbook', 'part_cb_id', 'part_sb_id')
    models = {u'auth.group': {'Meta': {'object_name': 'Group'}, u'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':
        u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}
        )}, u'auth.permission': {'Meta': {'ordering':
        "(u'content_type__app_label', u'content_type__model', u'codename')",
        'unique_together': "((u'content_type', u'codename'),)",
        'object_name': 'Permission'}, 'codename': (
        'django.db.models.fields.CharField', [], {'max_length': '100'}),
        'content_type': ('django.db.models.fields.related.ForeignKey', [],
        {'to': u"orm['contenttypes.ContentType']"}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'name': ('django.db.models.fields.CharField', [], {'max_length':
        '50'})}, u'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':
        u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
        u'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':
        u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}
        ), 'username': ('django.db.models.fields.CharField', [], {'unique':
        'True', 'max_length': '30'})}, u'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'}),
        u'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'})}, 'duchemin.dcanalysis': {'Meta': {
        'object_name': 'DCAnalysis'}, 'analyst': (
        'django.db.models.fields.related.ForeignKey', [], {'related_name':
        "'analyses'", 'to_field': "'person_id'", 'to':
        "orm['duchemin.DCPerson']"}), 'cadence': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'cadence_alter': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), 'cadence_final_tone': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'cadence_kind': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), 'cadence_role_cantz': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'cadence_role_tenz': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'comment': (
        'django.db.models.fields.TextField', [], {'null': 'True', 'blank':
        'True'}), 'composition_number': (
        'django.db.models.fields.related.ForeignKey', [], {'related_name':
        "'pieces'", 'to_field': "'piece_id'", 'to':
        "orm['duchemin.DCPiece']"}), 'earlier_phrase': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'needs_review': ('django.db.models.fields.BooleanField', [], {
        'default': 'False'}), 'other_contrapuntal': (
        'django.db.models.fields.CharField', [], {'max_length': '128',
        'null': 'True', 'blank': 'True'}), 'other_formulas': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), 'other_pres_type': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), 'phrase_number': (
        'django.db.models.fields.related.ForeignKey', [], {'related_name':
        "'phrases'", 'to_field': "'phrase_id'", 'to':
        "orm['duchemin.DCPhrase']"}), 'repeat_exact_varied': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'repeat_kind': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), 'start_measure': (
        'django.db.models.fields.IntegerField', [], {'null': 'True',
        'blank': 'True'}), 'stop_measure': (
        'django.db.models.fields.IntegerField', [], {'null': 'True',
        'blank': 'True'}), 'text_treatment': (
        'django.db.models.fields.CharField', [], {'max_length': '128',
        'null': 'True', 'blank': 'True'}), 'timestamp': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), 'voice_role_above': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_below': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_com1': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_com2': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_dux1': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_dux2': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_fifth': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_fourth': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_lo1_nim': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_lo2_nim': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_un_oct': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_up1_nim': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voice_role_up2_nim': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voices_53_lo': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voices_53_up': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voices_p3_lo': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voices_p3_up': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voices_p6_lo': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'voices_p6_up': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'})}, 'duchemin.dcbook': {'Meta': {
        'object_name': 'DCBook'}, 'book_id': (
        'django.db.models.fields.IntegerField', [], {'unique': 'True',
        'db_index': 'True'}), 'cesr': ('django.db.models.fields.CharField',
        [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
        'complete_title': ('django.db.models.fields.CharField', [], {
        'max_length': '128', 'null': 'True', 'blank': 'True'}), 'date': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'location': ('django.db.models.fields.CharField', [], {'max_length':
        '16', 'null': 'True', 'blank': 'True'}), 'num_compositions': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'num_pages': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'part_cb_id': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'part_st_id': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'place_publication': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), 'publisher': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), 'remarks': (
        'django.db.models.fields.CharField', [], {'max_length': '128',
        'null': 'True', 'blank': 'True'}), 'rism': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'title': (
        'django.db.models.fields.CharField', [], {'db_index': 'True',
        'max_length': '128', 'null': 'True', 'blank': 'True'}), 'volumes':
        ('django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'})}, 'duchemin.dccomment': {'Meta':
        {'object_name': 'DCComment'}, 'author': (
        'django.db.models.fields.related.ForeignKey', [], {'related_name':
        "'comments'", 'to': u"orm['auth.User']"}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'piece': ('django.db.models.fields.related.ForeignKey', [], {
        'related_name': "'comments'", 'to': "orm['duchemin.DCPiece']"}),
        'text': ('django.db.models.fields.TextField', [], {}), 'time': (
        'django.db.models.fields.DateTimeField', [], {'auto_now': 'True',
        'blank': 'True'})}, 'duchemin.dccontentblock': {'Meta': {
        'object_name': 'DCContentBlock'}, 'body': (
        'django.db.models.fields.TextField', [], {}), 'content_type': (
        'django.db.models.fields.CharField', [], {'default': "'block'",
        'max_length': '32'}), u'id': ('django.db.models.fields.AutoField',
        [], {'primary_key': 'True'}), 'position': (
        'django.db.models.fields.IntegerField', [], {'default': '1'}),
        'published': ('django.db.models.fields.BooleanField', [], {
        'default': 'False'}), 'title': ('django.db.models.fields.CharField',
        [], {'max_length': '255'})}, 'duchemin.dcfile': {'Meta': {
        'object_name': 'DCFile'}, 'attachment': (
        'django.db.models.fields.files.FileField', [], {'max_length': '100'
        }), 'description': ('django.db.models.fields.CharField', [], {
        'max_length': '255', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'})},
        'duchemin.dcperson': {'Meta': {'ordering': "['surname']",
        'object_name': 'DCPerson'}, 'active_date': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'alt_spelling': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), 'birth_date': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'death_date': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), 'given_name': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'person_id': ('django.db.models.fields.CharField', [], {
        'max_length': '16', 'unique': 'True', 'null': 'True', 'db_index':
        'True'}), 'remarks': ('django.db.models.fields.TextField', [], {
        'null': 'True', 'blank': 'True'}), 'surname': (
        'django.db.models.fields.CharField', [], {'db_index': 'True',
        'max_length': '64', 'null': 'True', 'blank': 'True'})},
        'duchemin.dcphrase': {'Meta': {'ordering':
        "['piece_id', 'phrase_num']", 'object_name': 'DCPhrase'}, u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'phrase_id': ('django.db.models.fields.IntegerField', [], {'unique':
        'True', 'db_index': 'True'}), 'phrase_num': (
        'django.db.models.fields.IntegerField', [], {'null': 'True',
        'blank': 'True'}), 'phrase_start': (
        'django.db.models.fields.CharField', [], {'max_length': '4', 'null':
        'True', 'blank': 'True'}), 'phrase_stop': (
        'django.db.models.fields.CharField', [], {'max_length': '4', 'null':
        'True', 'blank': 'True'}), 'phrase_text': (
        'django.db.models.fields.CharField', [], {'max_length': '255',
        'null': 'True', 'blank': 'True'}), 'piece_id': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['duchemin.DCPiece']", 'to_field': "'piece_id'"}), 'rhyme': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'})}, 'duchemin.dcpiece': {'Meta': {
        'object_name': 'DCPiece'}, 'audio_link': (
        'django.db.models.fields.CharField', [], {'max_length': '255',
        'null': 'True', 'blank': 'True'}), 'book_id': (
        'django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['duchemin.DCBook']", 'to_field': "'book_id'"}),
        'book_position': ('django.db.models.fields.IntegerField', [], {
        'max_length': '16', 'null': 'True', 'blank': 'True'}),
        'composer_id': ('django.db.models.fields.related.ForeignKey', [], {
        'to': "orm['duchemin.DCPerson']", 'to_field': "'person_id'"}),
        'composer_src': ('django.db.models.fields.CharField', [], {
        'max_length': '64', 'null': 'True', 'blank': 'True'}), 'forces': (
        'django.db.models.fields.CharField', [], {'max_length': '16',
        'null': 'True', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'mei_link': ('django.db.models.fields.CharField', [], {'max_length':
        '255', 'null': 'True', 'blank': 'True'}), 'ms_concordances': (
        'django.db.models.fields.CharField', [], {'max_length': '128',
        'null': 'True', 'blank': 'True'}), 'pdf_link': (
        'django.db.models.fields.CharField', [], {'max_length': '255',
        'null': 'True', 'blank': 'True'}), 'piece_id': (
        'django.db.models.fields.CharField', [], {'unique': 'True',
        'max_length': '16', 'db_index': 'True'}), 'print_concordances': (
        'django.db.models.fields.CharField', [], {'max_length': '128',
        'null': 'True', 'blank': 'True'}), 'title': (
        'django.db.models.fields.CharField', [], {'max_length': '64',
        'null': 'True', 'blank': 'True'})}, 'duchemin.dcreconstruction': {
        'Meta': {'object_name': 'DCReconstruction'}, 'attachments': (
        'django.db.models.fields.related.ManyToManyField', [], {'to':
        "orm['duchemin.DCFile']", 'symmetrical': 'False'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'piece': ('django.db.models.fields.related.ForeignKey', [], {'to':
        "orm['duchemin.DCPiece']", 'to_field': "'piece_id'"}),
        'reconstructor': ('django.db.models.fields.related.ForeignKey', [],
        {'to': "orm['duchemin.DCPerson']", 'to_field': "'person_id'"})},
        'duchemin.dcuserprofile': {'Meta': {'object_name': 'DCUserProfile'},
        'favourited_analysis': (
        'django.db.models.fields.related.ManyToManyField', [], {'db_index':
        'True', 'to': "orm['duchemin.DCAnalysis']", 'symmetrical': 'False',
        'blank': 'True'}), 'favourited_piece': (
        'django.db.models.fields.related.ManyToManyField', [], {'db_index':
        'True', 'to': "orm['duchemin.DCPiece']", 'symmetrical': 'False',
        'blank': 'True'}), 'favourited_reconstruction': (
        'django.db.models.fields.related.ManyToManyField', [], {'db_index':
        'True', 'to': "orm['duchemin.DCReconstruction']", 'symmetrical':
        'False', 'blank': 'True'}), u'id': (
        'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
        'person': ('django.db.models.fields.related.ForeignKey', [], {
        'blank': 'True', 'related_name': "'profile'", 'null': 'True', 'to':
        "orm['duchemin.DCPerson']"}), 'user': (
        'django.db.models.fields.related.OneToOneField', [], {'to':
        u"orm['auth.User']", 'unique': 'True'})}}
    complete_apps = ['duchemin']

# -*- 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):
        db.rename_column(u'duchemin_dcbook', 'part_sb_id', 'part_cb_id')


    def backwards(self, orm):
        db.rename_column(u'duchemin_dcbook', 'part_cb_id', 'part_sb_id')


    models = {
        u'auth.group': {
            'Meta': {'object_name': 'Group'},
            u'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': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
        },
        u'auth.permission': {
            'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
        },
        u'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': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
            u'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': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
        },
        u'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'}),
            u'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'})
        },
        'duchemin.dcanalysis': {
            'Meta': {'object_name': 'DCAnalysis'},
            'analyst': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'analyses'", 'to_field': "'person_id'", 'to': "orm['duchemin.DCPerson']"}),
            'cadence': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'cadence_alter': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'cadence_final_tone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'cadence_kind': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'cadence_role_cantz': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'cadence_role_tenz': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'composition_number': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pieces'", 'to_field': "'piece_id'", 'to': "orm['duchemin.DCPiece']"}),
            'earlier_phrase': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'needs_review': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'other_contrapuntal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
            'other_formulas': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'other_pres_type': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'phrase_number': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'phrases'", 'to_field': "'phrase_id'", 'to': "orm['duchemin.DCPhrase']"}),
            'repeat_exact_varied': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'repeat_kind': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'start_measure': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
            'stop_measure': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
            'text_treatment': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
            'timestamp': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'voice_role_above': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_below': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_com1': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_com2': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_dux1': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_dux2': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_fifth': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_fourth': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_lo1_nim': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_lo2_nim': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_un_oct': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_up1_nim': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voice_role_up2_nim': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voices_53_lo': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voices_53_up': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voices_p3_lo': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voices_p3_up': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voices_p6_lo': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'voices_p6_up': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'})
        },
        'duchemin.dcbook': {
            'Meta': {'object_name': 'DCBook'},
            'book_id': ('django.db.models.fields.IntegerField', [], {'unique': 'True', 'db_index': 'True'}),
            'cesr': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'complete_title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
            'date': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'location': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'num_compositions': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'num_pages': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'part_cb_id': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'part_st_id': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'place_publication': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'publisher': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'remarks': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
            'rism': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'title': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '128', 'null': 'True', 'blank': 'True'}),
            'volumes': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'})
        },
        'duchemin.dccomment': {
            'Meta': {'object_name': 'DCComment'},
            'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': u"orm['auth.User']"}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'piece': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['duchemin.DCPiece']"}),
            'text': ('django.db.models.fields.TextField', [], {}),
            'time': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
        },
        'duchemin.dccontentblock': {
            'Meta': {'object_name': 'DCContentBlock'},
            'body': ('django.db.models.fields.TextField', [], {}),
            'content_type': ('django.db.models.fields.CharField', [], {'default': "'block'", 'max_length': '32'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'position': ('django.db.models.fields.IntegerField', [], {'default': '1'}),
            'published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'title': ('django.db.models.fields.CharField', [], {'max_length': '255'})
        },
        'duchemin.dcfile': {
            'Meta': {'object_name': 'DCFile'},
            'attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}),
            'description': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
        },
        'duchemin.dcperson': {
            'Meta': {'ordering': "['surname']", 'object_name': 'DCPerson'},
            'active_date': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'alt_spelling': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'birth_date': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'death_date': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'given_name': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'person_id': ('django.db.models.fields.CharField', [], {'max_length': '16', 'unique': 'True', 'null': 'True', 'db_index': 'True'}),
            'remarks': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'surname': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'})
        },
        'duchemin.dcphrase': {
            'Meta': {'ordering': "['piece_id', 'phrase_num']", 'object_name': 'DCPhrase'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'phrase_id': ('django.db.models.fields.IntegerField', [], {'unique': 'True', 'db_index': 'True'}),
            'phrase_num': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
            'phrase_start': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}),
            'phrase_stop': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}),
            'phrase_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'piece_id': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['duchemin.DCPiece']", 'to_field': "'piece_id'"}),
            'rhyme': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'})
        },
        'duchemin.dcpiece': {
            'Meta': {'object_name': 'DCPiece'},
            'audio_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'book_id': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['duchemin.DCBook']", 'to_field': "'book_id'"}),
            'book_position': ('django.db.models.fields.IntegerField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'composer_id': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['duchemin.DCPerson']", 'to_field': "'person_id'"}),
            'composer_src': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'forces': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'mei_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'ms_concordances': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
            'pdf_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'piece_id': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '16', 'db_index': 'True'}),
            'print_concordances': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
            'title': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'})
        },
        'duchemin.dcreconstruction': {
            'Meta': {'object_name': 'DCReconstruction'},
            'attachments': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['duchemin.DCFile']", 'symmetrical': 'False'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'piece': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['duchemin.DCPiece']", 'to_field': "'piece_id'"}),
            'reconstructor': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['duchemin.DCPerson']", 'to_field': "'person_id'"})
        },
        'duchemin.dcuserprofile': {
            'Meta': {'object_name': 'DCUserProfile'},
            'favourited_analysis': ('django.db.models.fields.related.ManyToManyField', [], {'db_index': 'True', 'to': "orm['duchemin.DCAnalysis']", 'symmetrical': 'False', 'blank': 'True'}),
            'favourited_piece': ('django.db.models.fields.related.ManyToManyField', [], {'db_index': 'True', 'to': "orm['duchemin.DCPiece']", 'symmetrical': 'False', 'blank': 'True'}),
            'favourited_reconstruction': ('django.db.models.fields.related.ManyToManyField', [], {'db_index': 'True', 'to': "orm['duchemin.DCReconstruction']", 'symmetrical': 'False', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'person': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'profile'", 'null': 'True', 'to': "orm['duchemin.DCPerson']"}),
            'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['auth.User']", 'unique': 'True'})
        }
    }

    complete_apps = ['duchemin']