project/kiwipycon/registration/migrations/0001_initial.py
changeset 94 87e77aa18610
parent 93 e86755df35da
child 95 f94e0cd9a862
--- a/project/kiwipycon/registration/migrations/0001_initial.py	Thu Apr 01 11:59:35 2010 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-# -*- coding: utf-8 -*-
-
-from south.db import db
-from django.db import models
-from project.kiwipycon.registration.models import *
-
-class Migration:
-    
-    def forwards(self, orm):
-        
-        # Adding model 'Registration'
-        db.create_table('registration_registration', (
-            ('slug', models.SlugField()),
-            ('registrant', models.ForeignKey(orm['auth.User'])),
-            ('organisation', models.CharField(max_length=255, blank=True)),
-            ('occupation', models.CharField(max_length=255, blank=True)),
-            ('city', models.CharField(max_length=255, blank=True)),
-            ('postcode', models.CharField(max_length=255, blank=True)),
-            ('tshirt', models.CharField(max_length=2)),
-            ('conference', models.BooleanField(default=False)),
-            ('tutorial', models.BooleanField(default=False)),
-            ('sprint', models.BooleanField(default=False)),
-            ('submitted', models.DateTimeField(auto_now_add=True)),
-            ('allow_contact', models.BooleanField(default=False)),
-            ('last_mod', models.DateTimeField(auto_now=True)),
-            ('id', models.AutoField(primary_key=True)),            
-        ))
-        db.send_create_signal('registration', ['Registration'])
-        
-    
-    
-    def backwards(self, orm):
-        
-        # Deleting model 'Registration'
-        db.delete_table('registration_registration')
-        
-    
-    
-    models = {
-        'auth.user': {
-            '_stub': True,
-            'id': ('models.AutoField', [], {'primary_key': 'True'})
-        },
-        'registration.registration': {
-            'allow_contact': ('models.BooleanField', [], {'default': 'False'}),
-            'city': ('models.CharField', [], {'max_length': '255', 'blank': 'True'}),
-            'id': ('models.AutoField', [], {'primary_key': 'True'}),
-            'last_mod': ('models.DateTimeField', [], {'auto_now': 'True'}),
-            'occupation': ('models.CharField', [], {'max_length': '255', 'blank': 'True'}),
-            'organisation': ('models.CharField', [], {'max_length': '255', 'blank': 'True'}),
-            'conference': ('models.BooleanField', [], {'default': 'False'}),
-            'tutorial': ('models.BooleanField', [], {'default': 'False'}),
-            'sprint': ('models.BooleanField', [], {'default': 'False'}),
-            'postcode': ('models.CharField', [], {'max_length': '255', 'blank': 'True'}),
-            'registrant': ('models.ForeignKey', ['User'], {}),
-            'slug': ('models.SlugField', [], {}),
-            'submitted': ('models.DateTimeField', [], {'auto_now_add': 'True'}),
-            'tshirt': ('models.CharField', [], {'max_length': '2'})
-        }
-    }
-    
-    complete_apps = ['registration']