reg/views.py
changeset 2 c11afa8623f7
parent 0 30a0f9e20fd4
child 3 182f216da4a8
equal deleted inserted replaced
1:18dc0362f550 2:c11afa8623f7
     1 # Create your views here.
     1 from django.shortcuts import render_to_response
       
     2 
       
     3 def homepage(request):
       
     4     """ List all the workshops and their status.
       
     5     """
       
     6 
       
     7     events = Event.objects.all()