diff options
| author | Yuval Adam <yuv.adm@gmail.com> | 2011-03-20 00:15:42 +0200 |
|---|---|---|
| committer | Yuval Adam <yuv.adm@gmail.com> | 2011-03-20 00:15:42 +0200 |
| commit | 4bbba8b57f84fd06386f7c4b8e39acc31974091d (patch) | |
| tree | 98b8201ea4b2134381ba75e579dd1a06f3ae20e3 /fb/views.py | |
| parent | 59dae434a4f511bc6f320fa9519dabc176a211b2 (diff) | |
Diffstat (limited to 'fb/views.py')
| -rw-r--r-- | fb/views.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/fb/views.py b/fb/views.py index 60f00ef..1ef23c5 100644 --- a/fb/views.py +++ b/fb/views.py @@ -1 +1,7 @@ -# Create your views here. +from django.contrib import auth +from django.http import HttpResponse, HttpResponseRedirect +from django.shortcuts import render_to_response +from django.template import RequestContext + +def index(request): + return render_to_response('index.html', {}, context_instance=RequestContext(request)) |
