mirror of
https://github.com/Hopiu/django-markdownx.git
synced 2026-03-16 21:40:24 +00:00
* updates URLs to Django 4 pattern * Checks for Ajax request using `x-requested-with` header * housekeeping * housekeeping * adds zlib to windows runs * uses specific python version * updates git URL * disables testing on Windows * changes docs path * changes docs path * changes docs path * Update documentations * removes docs Co-authored-by: GitHub Action <action@github.com>
9 lines
198 B
Python
9 lines
198 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']
|