django-markdownx/testapp/views.py

10 lines
233 B
Python
Raw Normal View History

2016-12-04 18:36:41 +00:00
from django.views.generic.base import TemplateView
from django.views.generic.edit import FormView, CreateView
from testapp.forms import MyForm
class TestFormView(FormView):
template_name = "index.html"
2016-12-04 18:36:41 +00:00
form_class = MyForm