equal
deleted
inserted
replaced
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 |