added all fields to EvaFormView

This commit is contained in:
Benni Bärmann 2020-12-23 15:16:39 +01:00
parent e9c6066ff0
commit a7f1bc6e7f
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
{{form}}
{{form.as_p}}

View File

@ -6,4 +6,4 @@ from .models import Employee
# Create your views here.
class EvaFormView(CreateView):
model = Employee
fields = ['firstname']
fields = '__all__' # ['firstname']