reg/views.py
changeset 16 bef53aaf9085
parent 15 b06f0fefbd20
child 17 125b6fc8f20b
equal deleted inserted replaced
15:b06f0fefbd20 16:bef53aaf9085
    19     """
    19     """
    20 
    20 
    21     user = request.user
    21     user = request.user
    22     events = Event.objects.all()[:10]
    22     events = Event.objects.all()[:10]
    23 
    23 
    24     return render_to_response('index.html', {'user':user, 'events':events})
    24     return render_to_response('index.html', {'user':user})
    25 
    25 
    26 def user_login(request):
    26 def user_login(request):
    27     """ get the user object from e-mail and then check for password.
    27     """ get the user object from e-mail and then check for password.
    28     """
    28     """
    29 
    29