--- a/reg/events.py Fri Apr 09 15:48:47 2010 +0530
+++ b/reg/events.py Fri Apr 09 16:51:56 2010 +0530
@@ -37,13 +37,13 @@
except IntegrityError:
pass
-def create_event(title, desc, start_date, stop_date, created_by=None):
+def create_event(title, description, start_date, stop_date, created_by=None):
""" make an event and save it.
"""
new_event = Event()
new_event.title = title
- new_event.description = desc
+ new_event.description = description
new_event.start_date = start_date
new_event.stop_date = stop_date
new_event.save()