This commit is contained in:
Martin Pépin 2016-08-24 15:38:04 +02:00
parent c5fa9d32f4
commit ac0748d0a4

View file

@ -390,7 +390,7 @@ def registration(request):
if 'password1' in request_dict or 'password2' in request_dict:
user_form = RegistrationPassUserForm(request_dict)
else:
user_form = RegistrationUserForm
user_form = RegistrationUserForm(request_dict)
profile_form = RegistrationProfileForm(request_dict)
events = Event.objects.filter(old=False).all()
event_formset = EventFormset(events=events, data=request_dict,