Если пользователь залогинен на лендинге, то кидать его дальше

remotes/origin/feature/logined-landing-registration
gzbender 6 years ago
parent 82e7de0ebc
commit da964851e8
  1. 1
      apps/auth/views.py

@ -251,6 +251,7 @@ class LandingRegistrationView(View):
form = LandingRegistrationForm(request.POST) form = LandingRegistrationForm(request.POST)
if not form.is_valid(): if not form.is_valid():
return HttpResponse(form.errors.as_text()) return HttpResponse(form.errors.as_text())
phone = form.cleaned_data['phone'] phone = form.cleaned_data['phone']
name = form.cleaned_data['name'].split() name = form.cleaned_data['name'].split()
email = form.cleaned_data['email'].lower() email = form.cleaned_data['email'].lower()

Loading…
Cancel
Save