changeset 2 | c11afa8623f7 |
parent 0 | 30a0f9e20fd4 |
child 3 | 182f216da4a8 |
--- a/reg/views.py Thu Apr 08 16:35:46 2010 +0530 +++ b/reg/views.py Thu Apr 08 22:28:15 2010 +0530 @@ -1,1 +1,7 @@ -# Create your views here. +from django.shortcuts import render_to_response + +def homepage(request): + """ List all the workshops and their status. + """ + + events = Event.objects.all()