project/scipycon/registration/migrations/0002_create_wifi.py
changeset 94 87e77aa18610
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/project/scipycon/registration/migrations/0002_create_wifi.py	Tue Jul 13 17:59:47 2010 +0530
@@ -0,0 +1,56 @@
+# -*- 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 'Wifi'
+        db.create_table('registration_wifi', (
+            ('wifi', models.CharField(max_length=50)),
+            ('user', models.ForeignKey(orm['auth.User'])),
+            ('id', models.AutoField(primary_key=True)),
+        ))
+        db.send_create_signal('registration', ['Wifi'])
+        
+    
+    
+    def backwards(self, orm):
+        
+        # Deleting model 'Wifi'
+        db.delete_table('registration_wifi')
+        
+    
+    
+    models = {
+        'auth.user': {
+            '_stub': True,
+            'id': ('models.AutoField', [], {'primary_key': 'True'})
+        },
+        'registration.wifi': {
+            'id': ('models.AutoField', [], {'primary_key': 'True'}),
+            'user': ('models.ForeignKey', ['User'], {}),
+            'wifi': ('models.CharField', [], {'max_length': '50'})
+        },
+        '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']