manuels-scolaires/manuels/views.py

10 lines
195 B
Python
Raw Normal View History

2018-05-21 21:03:08 +02:00
from django.views.generic import CreateView
2018-05-21 19:28:36 +02:00
2018-05-21 21:03:08 +02:00
from manuels.models import Teacher
class HomePageView(CreateView):
model = Teacher
fields = []
template_name = 'manuels/home_page.html'