equal
deleted
inserted
replaced
64 else: |
64 else: |
65 errors=['Password do not match'] |
65 errors=['Password do not match'] |
66 form = RegistrationForm(request.POST) |
66 form = RegistrationForm(request.POST) |
67 return render_to_response('user/register.html',{'form':form,'errors':errors})#HttpResponse('Password did not match') |
67 return render_to_response('user/register.html',{'form':form,'errors':errors})#HttpResponse('Password did not match') |
68 else: |
68 else: |
69 form = RegistrationForm() |
69 form = RegistrationForm(request.POST) |
70 else: |
70 else: |
71 form = RegistrationForm() |
71 form = RegistrationForm() |
72 return render_to_response('user/register.html', {'form': form}) |
72 return render_to_response('user/register.html', {'form': form}) |
73 |
73 |
74 def user_login(request): |
74 def user_login(request): |