summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorMadhusudan.C.S2009-11-05 03:19:10 +0530
committerMadhusudan.C.S2009-11-05 03:19:10 +0530
commit8960a9793629006c18bc85410dbfdb8d496e0600 (patch)
tree2f358591dac44ca2f3e8bbc5d67af79a4ba1bb55 /project
parent4c056225e86dd7274162734593cfa6c212de499c (diff)
downloadscipycon-8960a9793629006c18bc85410dbfdb8d496e0600.tar.gz
scipycon-8960a9793629006c18bc85410dbfdb8d496e0600.tar.bz2
scipycon-8960a9793629006c18bc85410dbfdb8d496e0600.zip
Added cfp related changes.
Diffstat (limited to 'project')
-rw-r--r--project/kiwipycon/talk/migrations/0001_initial.py8
-rw-r--r--project/kiwipycon/talk/models.py2
-rw-r--r--project/kiwipycon/talk/views.py9
3 files changed, 10 insertions, 9 deletions
diff --git a/project/kiwipycon/talk/migrations/0001_initial.py b/project/kiwipycon/talk/migrations/0001_initial.py
index 961abcf..6eec7f7 100644
--- a/project/kiwipycon/talk/migrations/0001_initial.py
+++ b/project/kiwipycon/talk/migrations/0001_initial.py
@@ -17,16 +17,16 @@ class Migration:
('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 --git a/project/kiwipycon/talk/models.py b/project/kiwipycon/talk/models.py
index 62ae89b..de0b11f 100644
--- a/project/kiwipycon/talk/models.py
+++ b/project/kiwipycon/talk/models.py
@@ -54,7 +54,7 @@ class Talk(models.Model):
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 --git a/project/kiwipycon/talk/views.py b/project/kiwipycon/talk/views.py
index a11be54..28e017a 100644
--- a/project/kiwipycon/talk/views.py
+++ b/project/kiwipycon/talk/views.py
@@ -150,14 +150,15 @@ def submit_talk(request, template_name='talk/submit-talk.html'):
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')