manuels-scolaires/manuels/views.py
2018-05-21 21:03:08 +02:00

10 lines
195 B
Python

from django.views.generic import CreateView
from manuels.models import Teacher
class HomePageView(CreateView):
model = Teacher
fields = []
template_name = 'manuels/home_page.html'