event/views.py
changeset 73 5c2c74afb94e
parent 72 665287ab8e3a
child 74 46c5ae6594df
--- a/event/views.py	Wed Jun 30 10:33:03 2010 +0530
+++ b/event/views.py	Wed Jun 30 10:42:32 2010 +0530
@@ -43,10 +43,7 @@
 
     return render_to_response('admin.html', {'event':event, 'admin_key':ADMIN_KEY})
     
-def event_create(request, admin_key):
-
-    if not admin_key == ADMIN_KEY:
-        raise Http404
+def event_create(request):
 
     try:
         event = Event.objects.all()[0]