text: # -*- 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 field 'Attendee.slug'
          db.add_column('cert_attendee', 'slug',
                        self.gf('django.db.models.fields.SlugField')(default='', unique=True, max_length=50),
                        keep_default=False)
  
          # Adding field 'Attendee.sent_date'
          db.add_column('cert_attendee', 'sent_date',
                        self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True),
                        keep_default=False)
  
      def backwards(self, orm):
          # Deleting field 'Attendee.slug'
          db.delete_column('cert_attendee', 'slug')
  
          # Deleting field 'Attendee.sent_date'
          db.delete_column('cert_attendee', 'sent_date')
  
      models = {
          'cert.attendee': {
              'Meta': {'object_name': 'Attendee'},
              'email': ('django.db.models.fields.EmailField', [], {'max_length': '254'}),
              'events': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['events.Event']", 'symmetrical': 'False'}),
              'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
              'pub_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
              'sent_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
              'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'})
          },
          'cert.signature': {
              'Meta': {'object_name': 'Signature'},
              'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
              'pub_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
              'signature': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}),
              'title': ('django.db.models.fields.CharField', [], {'max_length': '80'})
          },
          'events.event': {
              'Meta': {'object_name': 'Event'},
              'date': ('django.db.models.fields.DateTimeField', [], {}),
              'description': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'full_description': ('django.db.models.fields.TextField', [], {}),
              'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'index': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
              'location': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['geo.Location']"}),
              'partners': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['events.Partner']", 'null': 'True', 'blank': 'True'}),
              'pub_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
              'signature': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cert.Signature']", 'null': 'True'}),
              'slug': ('django.db.models.fields.SlugField', [], {'max_length': '50'}),
              'submission_deadline': ('django.db.models.fields.DateTimeField', [], {})
          },
          'events.partner': {
              'Meta': {'object_name': 'Partner'},
              'description': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}),
              'url': ('django.db.models.fields.URLField', [], {'max_length': '200'})
          },
          'geo.location': {
              'Meta': {'object_name': 'Location'},
              'city': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
              'country': ('django.db.models.fields.CharField', [], {'max_length': "'50'"}),
              'description': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'district': ('django.db.models.fields.CharField', [], {'max_length': "'255'"}),
              'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'map': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
              'number': ('django.db.models.fields.CharField', [], {'max_length': "'15'"}),
              'postal_code': ('django.db.models.fields.CharField', [], {'max_length': "'50'"}),
              'pub_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
              'reference': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'state': ('django.db.models.fields.CharField', [], {'max_length': "'50'"}),
              'street': ('django.db.models.fields.CharField', [], {'max_length': '255'})
          }
      }
  
      complete_apps = ['cert']