# HG changeset patch # User Madhusudan.C.S # Date 1257371350 -19800 # Node ID bffb109e23c1074ec1b1b309192f46ea2c8674ac # Parent ac5a1c60c2bc9e29bf242dd5b45cf8cc32d0a145 Added cfp related changes. diff -r ac5a1c60c2bc -r bffb109e23c1 project/kiwipycon/talk/migrations/0001_initial.py --- a/project/kiwipycon/talk/migrations/0001_initial.py Thu Nov 05 03:01:40 2009 +0530 +++ b/project/kiwipycon/talk/migrations/0001_initial.py Thu Nov 05 03:19:10 2009 +0530 @@ -17,16 +17,16 @@ ('contact', models.CharField(max_length=1024)), ('title', models.CharField(max_length=1024)), ('abstract', models.TextField()), - ('outline', models.TextField()), +# ('outline', models.TextField()), ('topic', models.CharField(blank=True, max_length=255)), - ('topic_other', models.CharField(max_length=255, blank=True)), +# ('topic_other', models.CharField(max_length=255, blank=True)), ('duration', models.CharField(max_length=3)), ('audience', models.CharField(blank=True, max_length=32)), - ('audience_other', models.CharField(max_length=128, blank=True)), +# ('audience_other', models.CharField(max_length=128, blank=True)), ('approved', models.BooleanField(default=False)), ('submitted', models.DateTimeField(auto_now_add=True)), ('last_mod', models.DateTimeField(auto_now=True)), - ('tags', TagField(blank=True)), +# ('tags', TagField(blank=True)), )) db.send_create_signal('talk', ['Talk']) diff -r ac5a1c60c2bc -r bffb109e23c1 project/kiwipycon/talk/models.py --- a/project/kiwipycon/talk/models.py Thu Nov 05 03:01:40 2009 +0530 +++ b/project/kiwipycon/talk/models.py Thu Nov 05 03:19:10 2009 +0530 @@ -54,7 +54,7 @@ topic = models.CharField(max_length=255, #choices=TOPIC_CHOICES, blank=True) - #topic_other = models.CharField(max_length=255, blank=True) +# topic_other = models.CharField(max_length=255, blank=True) duration = models.CharField(max_length=3, choices=DURATION_CHOICES) audience = models.CharField(max_length=32, choices=AUDIENCE_CHOICES, blank=True) # audience_other = models.CharField(max_length=128, blank=True) diff -r ac5a1c60c2bc -r bffb109e23c1 project/kiwipycon/talk/views.py --- a/project/kiwipycon/talk/views.py Thu Nov 05 03:01:40 2009 +0530 +++ b/project/kiwipycon/talk/views.py Thu Nov 05 03:19:10 2009 +0530 @@ -150,14 +150,15 @@ contact = talk_form.data.get('contact'), title = talk_form.data.get('title'), abstract = talk_form.data.get('abstract'), - outline = talk_form.data.get('outline'), +# outline = talk_form.data.get('outline'), topic = talk_form.data.get('topic'), - topic_other = talk_form.data.get('topic_other'), +# topic_other = talk_form.data.get('topic_other'), duration = talk_form.data.get('duration'), audience = talk_form.data.get('audience'), - audience_other = talk_form.data.get('audience_other'), +# audience_other = talk_form.data.get('audience_other'), approved = False, - tags = talk_form.data.get('tags')) +# tags = talk_form.data.get('tags') + ) talk.save() # Saved, ... redirect back to account redirect_to = reverse('kiwipycon_account')