1 #from django.template import Context, loader
2 #from django.http import HttpResponse
3 from ee.events.models import Event
4 from django.shortcuts import render_to_response
5 from django.http import Http404
9 def detail(request, event_id):
11 event = Event.objects.get(id=event_id)
12 #t = loader.get_template('events/event/detail.html')
16 #return HttpResponse(t.render(c))
17 return render_to_response('events/event/detail.html', {'event' : event})
18 except Event.DoesNotExist:
21 def regs(request, event_id):
23 #return HttpResponse('')