Added cfp related changes.
--- 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'])
--- 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)
--- 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')