Skip to content
This repository has been archived by the owner on Jun 22, 2020. It is now read-only.

Commit

Permalink
Fix na criação de usuario
Browse files Browse the repository at this point in the history
  • Loading branch information
daltonmatos committed Sep 29, 2013
1 parent 780536a commit e63af63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apihackday/bolao/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def criarUsuario(r):
username = r.POST.get('username', None)
password = r.POST.get('password', None)
email = r.POST.get('email', None)
new_user = User.objects.create_user(username, password,email)
new_user = User.objects.create_user(username, password=password, email=email)
return HttpResponseRedirect('/')
else:
return render_to_response('form-criar-usuario.html', context_instance=RequestContext(r))
Expand Down

0 comments on commit e63af63

Please sign in to comment.