Commit ee4de22f by Álex Álvarez

Versión final

parent f9f3e19e
......@@ -49,16 +49,7 @@ class RegistroView(View):
return redirect('Registro')
'''
FUNCIONA
form = CustomUserCreationForm(request.POST)
if form.is_valid():
usuario = form.save()
login(request, usuario)
return redirect('Chat')
else:
return render(request, "registro/registro.html", {'form': form})
'''
class ConfirmacionView(View):
def get(self, request):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment