text: # -*- coding: utf-8 -*-
  from south.utils import datetime_utils as datetime
  from south.db import db
  from south.v2 import SchemaMigration
  from django.db import models
  
  
  class Migration(SchemaMigration):
  
      def forwards(self, orm):
  
          # Changing field 'Session.slot'
          db.alter_column(u'thewall_session', 'slot_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['thewall.Slot'], null=True))
  
          # Changing field 'Session.room'
          db.alter_column(u'thewall_session', 'room_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['thewall.Room'], null=True))
  
      def backwards(self, orm):
  
          # Changing field 'Session.slot'
          db.alter_column(u'thewall_session', 'slot_id', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['thewall.Slot']))
  
          # Changing field 'Session.room'
          db.alter_column(u'thewall_session', 'room_id', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['thewall.Room']))
  
      models = {
          u'thewall.day': {
              'Meta': {'object_name': 'Day'},
              'day': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2014, 4, 21, 0, 0)'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
          },
          u'thewall.participant': {
              'Meta': {'object_name': 'Participant'},
              'attendeenumber': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'organization': ('django.db.models.fields.CharField', [], {'max_length': '100'})
          },
          u'thewall.room': {
              'Meta': {'object_name': 'Room'},
              'floor': ('django.db.models.fields.CharField', [], {'max_length': '20'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'venue': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['thewall.Venue']"})
          },
          u'thewall.session': {
              'Meta': {'object_name': 'Session'},
              'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
              'description': ('django.db.models.fields.TextField', [], {}),
              'difficulty': ('django.db.models.fields.CharField', [], {'default': "'Beginner'", 'max_length': '30'}),
              'headline': ('django.db.models.fields.TextField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'auto_now_add': 'True', 'blank': 'True'}),
              'presenters': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['thewall.Participant']", 'symmetrical': 'False'}),
              'room': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['thewall.Room']", 'null': 'True', 'blank': 'True'}),
              'slot': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['thewall.Slot']", 'null': 'True', 'blank': 'True'}),
              'tags': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['thewall.SessionTag']", 'symmetrical': 'False'}),
              'title': ('django.db.models.fields.TextField', [], {})
          },
          u'thewall.sessiontag': {
              'Meta': {'object_name': 'SessionTag'},
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'tag': ('django.db.models.fields.CharField', [], {'max_length': '20'})
          },
          u'thewall.slot': {
              'Meta': {'ordering': "('day__day', 'start_time')", 'object_name': 'Slot'},
              'day': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['thewall.Day']"}),
              'end_time': ('django.db.models.fields.TimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
              'start_time': ('django.db.models.fields.TimeField', [], {})
          },
          u'thewall.venue': {
              'Meta': {'object_name': 'Venue'},
              'address1': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
              'address2': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
              'city': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'postal': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
              'region': ('django.db.models.fields.CharField', [], {'max_length': '100'})
          }
      }
  
      complete_apps = ['thewall']