8 |
8 |
9 def forwards(self, orm): |
9 def forwards(self, orm): |
10 |
10 |
11 # Adding model 'Registration' |
11 # Adding model 'Registration' |
12 db.create_table('registration_registration', ( |
12 db.create_table('registration_registration', ( |
|
13 ('slug', models.SlugField()), |
|
14 ('registrant', models.ForeignKey(orm['auth.User'])), |
|
15 ('organisation', models.CharField(max_length=255, blank=True)), |
|
16 ('occupation', models.CharField(max_length=255, blank=True)), |
13 ('city', models.CharField(max_length=255, blank=True)), |
17 ('city', models.CharField(max_length=255, blank=True)), |
14 ('slug', models.SlugField()), |
18 ('postcode', models.CharField(max_length=255, blank=True)), |
|
19 ('tshirt', models.CharField(max_length=2)), |
|
20 ('conference', models.BooleanField(default=False)), |
|
21 ('tutorial', models.BooleanField(default=False)), |
|
22 ('sprint', models.BooleanField(default=False)), |
15 ('submitted', models.DateTimeField(auto_now_add=True)), |
23 ('submitted', models.DateTimeField(auto_now_add=True)), |
16 ('allow_contact', models.BooleanField(default=False)), |
24 ('allow_contact', models.BooleanField(default=False)), |
17 ('last_mod', models.DateTimeField(auto_now=True)), |
25 ('last_mod', models.DateTimeField(auto_now=True)), |
18 ('payment', models.BooleanField(default=False)), |
26 ('id', models.AutoField(primary_key=True)), |
19 ('organisation', models.CharField(max_length=255, blank=True)), |
|
20 ('diet', models.CharField(max_length=255, blank=True)), |
|
21 ('id', models.AutoField(primary_key=True)), |
|
22 ('sponsor', models.CharField(max_length=255, blank=True)), |
|
23 ('discount', models.BooleanField(default=False)), |
|
24 ('amount', models.IntegerField(default=0)), |
|
25 ('tshirt', models.CharField(max_length=2)), |
|
26 ('beverage', models.CharField(max_length=255, blank=True)), |
|
27 ('postcode', models.CharField(max_length=255, blank=True)), |
|
28 ('party', models.BooleanField(default=False)), |
|
29 ('registrant', models.ForeignKey(orm['auth.User'])), |
|
30 ('occupation', models.CharField(max_length=255, blank=True)), |
|
31 )) |
27 )) |
32 db.send_create_signal('registration', ['Registration']) |
28 db.send_create_signal('registration', ['Registration']) |
33 |
29 |
34 |
30 |
35 |
31 |
45 '_stub': True, |
41 '_stub': True, |
46 'id': ('models.AutoField', [], {'primary_key': 'True'}) |
42 'id': ('models.AutoField', [], {'primary_key': 'True'}) |
47 }, |
43 }, |
48 'registration.registration': { |
44 'registration.registration': { |
49 'allow_contact': ('models.BooleanField', [], {'default': 'False'}), |
45 'allow_contact': ('models.BooleanField', [], {'default': 'False'}), |
50 'beverage': ('models.CharField', [], {'max_length': '255', 'blank': 'True'}), |
|
51 'city': ('models.CharField', [], {'max_length': '255', 'blank': 'True'}), |
46 'city': ('models.CharField', [], {'max_length': '255', 'blank': 'True'}), |
52 'diet': ('models.CharField', [], {'max_length': '255', 'blank': 'True'}), |
|
53 'discount': ('models.BooleanField', [], {'default': 'False'}), |
|
54 'amount': ('models.IntegerField', [], {'default': 0}), |
|
55 'id': ('models.AutoField', [], {'primary_key': 'True'}), |
47 'id': ('models.AutoField', [], {'primary_key': 'True'}), |
56 'last_mod': ('models.DateTimeField', [], {'auto_now': 'True'}), |
48 'last_mod': ('models.DateTimeField', [], {'auto_now': 'True'}), |
57 'occupation': ('models.CharField', [], {'max_length': '255', 'blank': 'True'}), |
49 'occupation': ('models.CharField', [], {'max_length': '255', 'blank': 'True'}), |
58 'organisation': ('models.CharField', [], {'max_length': '255', 'blank': 'True'}), |
50 'organisation': ('models.CharField', [], {'max_length': '255', 'blank': 'True'}), |
59 'party': ('models.BooleanField', [], {'default': 'False'}), |
51 'conference': ('models.BooleanField', [], {'default': 'False'}), |
60 'payment': ('models.BooleanField', [], {'default': 'False'}), |
52 'tutorial': ('models.BooleanField', [], {'default': 'False'}), |
|
53 'sprint': ('models.BooleanField', [], {'default': 'False'}), |
61 'postcode': ('models.CharField', [], {'max_length': '255', 'blank': 'True'}), |
54 'postcode': ('models.CharField', [], {'max_length': '255', 'blank': 'True'}), |
62 'registrant': ('models.ForeignKey', ['User'], {}), |
55 'registrant': ('models.ForeignKey', ['User'], {}), |
63 'slug': ('models.SlugField', [], {}), |
56 'slug': ('models.SlugField', [], {}), |
64 'sponsor': ('models.CharField', [], {'max_length': '255', 'blank': 'True'}), |
|
65 'submitted': ('models.DateTimeField', [], {'auto_now_add': 'True'}), |
57 'submitted': ('models.DateTimeField', [], {'auto_now_add': 'True'}), |
66 'tshirt': ('models.CharField', [], {'max_length': '2'}) |
58 'tshirt': ('models.CharField', [], {'max_length': '2'}) |
67 } |
59 } |
68 } |
60 } |
69 |
61 |