quiz/views.py
changeset 24 2368bb63ee39
parent 21 ff6d34fc7137
child 29 ea1c0110e989
--- a/quiz/views.py	Tue Apr 20 23:29:44 2010 +0530
+++ b/quiz/views.py	Tue Apr 20 23:31:57 2010 +0530
@@ -31,7 +31,7 @@
 
     user = request.user
     if user.is_authenticated():
-        return redirect("/quiz/start/%s"%user.username)
+        return redirect("/quiz/start/")
     else:
         try:
             ip = request.META['REMOTE_ADDR']
@@ -64,7 +64,7 @@
 
             user = authenticate(username=username, password="123")
             login(request, user)
-            return redirect("/quiz/start/%s"%username)
+            return redirect("/quiz/start/")
 
         else:
             return render_to_response('register.html',{'form':form})