django-markdownx
django-markdownx copied to clipboard
Customization problem: override the default widget’s template
I override the default widget’s template by creating your own template and saving it under markdownx/widget.html, but the django still uses default widget. Finally, I added
FORM_RENDERER = 'django.forms.renderers.TemplatesSetting'
and added 'django.forms' in INSTALLED_APPS. Thus, my override widget works.
Same problem here (Django==4.0.4; django-markdownx==3.0.1). The proposed solution works for me.
Same problem and the proposed solution with django-markdownx==4.0.2 Should be included in the docs
If someone has the same problem: the "widget.html" must be in "templates/markdownx/" instead of just "markdownx/"