eva/evapp/views.py

10 lines
233 B
Python
Raw Normal View History

2020-12-23 10:42:57 +00:00
from django.shortcuts import render
from django.views.generic.edit import CreateView
from .models import Employee
2020-12-23 10:42:57 +00:00
# Create your views here.
class EvaFormView(CreateView):
model = Employee
2020-12-23 14:16:39 +00:00
fields = '__all__' # ['firstname']