EVA/evapp/views.py

10 lines
233 B
Python

from django.shortcuts import render
from django.views.generic.edit import CreateView
from .models import Employee
# Create your views here.
class EvaFormView(CreateView):
model = Employee
fields = '__all__' # ['firstname']