added all fields to EvaFormView
This commit is contained in:
parent
e9c6066ff0
commit
a7f1bc6e7f
|
@ -1 +1 @@
|
|||
{{form}}
|
||||
{{form.as_p}}
|
||||
|
|
|
@ -6,4 +6,4 @@ from .models import Employee
|
|||
# Create your views here.
|
||||
class EvaFormView(CreateView):
|
||||
model = Employee
|
||||
fields = ['firstname']
|
||||
fields = '__all__' # ['firstname']
|
||||
|
|
Loading…
Reference in New Issue