I am new to django!! working in windows. I have created a login page and validating in view.py file code wil go like this for x in log: if u_name ==x[1]: return render_to_response('index.html',{"log":log}) else: return render_to_response('wrong.html')
here if the u_name doesnt match means it wil go to else part and call wrong.html file. but its not working for me.. it showing following error "didn't return an HttpResponse object" -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.