diff --git a/input/forms.py b/input/forms.py index 19efbac..47cd3e0 100644 --- a/input/forms.py +++ b/input/forms.py @@ -25,7 +25,8 @@ class VolunteerForm(ModelForm): class LibraryForm(ModelForm): class Meta: model = Library - fields = '__all__' + # fields = '__all__' + exclude = ('realname', 'email', 'username') class IFGForm(ModelForm): class Meta: diff --git a/input/views.py b/input/views.py index 1289dc9..cafaa9b 100644 --- a/input/views.py +++ b/input/views.py @@ -34,6 +34,7 @@ class ExternView(SessionWizardView): template_name = "input/extern.html" form_list = [VolunteerForm, LibraryForm] def done(self, form_list, **kwargs): - return render(self.request, 'done.html', { - 'form_data': [form.cleaned_data for form in form_list], - }) + return done(self.request) + # return render(self.request, 'saved', { + # 'form_data': [form.cleaned_data for form in form_list], + # })