mirror of
https://github.com/Hopiu/django-markdownx.git
synced 2026-05-15 08:23:08 +00:00
Fix deprecation notice
https://docs.djangoproject.com/en/1.11/ref/forms/widgets/#django.forms.Widget.render
This commit is contained in:
parent
23da167674
commit
5be1a4a84b
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class MarkdownxWidget(forms.Textarea):
|
|||
Rendering the template and attributes thereof in Django 1.11+.
|
||||
|
||||
.. Note::
|
||||
The argument ``renderer`` added in was deprecated in Django 1.11.
|
||||
Not accepting ``renderer`` is deprecated in Django 1.11.
|
||||
"""
|
||||
if not DJANGO_VERSION[:2] < (1, 11):
|
||||
return super(MarkdownxWidget, self).render(name, value, attrs, renderer)
|
||||
|
|
|
|||
Loading…
Reference in a new issue