--- a/reg/events.py Thu Apr 15 14:15:44 2010 +0530
+++ b/reg/events.py Thu Apr 15 14:38:48 2010 +0530
@@ -43,7 +43,7 @@
print "http://localhost:8000/reg/activate/%s"%user.get_profile().activation_key
-def create_event(title, description, start_date, stop_date, created_by=None):
+def create_event(title, description, start_date, stop_date, venue, created_by=None):
""" make an event and save it.
"""
@@ -52,6 +52,7 @@
new_event.description = description
new_event.start_date = start_date
new_event.stop_date = stop_date
+ new_event.venue = venue
new_event.save()
if created_by:
new_event.organizers.add(created_by)