mirror of
https://github.com/Hopiu/django-markdownx.git
synced 2026-04-21 21:44:44 +00:00
9 lines
197 B
Python
9 lines
197 B
Python
|
|
from django.views.generic.edit import CreateView
|
||
|
|
|
||
|
|
from .models import MyModel
|
||
|
|
|
||
|
|
class TestView(CreateView):
|
||
|
|
template_name = "test_view.html"
|
||
|
|
model = MyModel
|
||
|
|
fields = ['markdownx_field']
|