klen / django_markdown

Django markdown support and wysiwig
GNU Lesser General Public License v3.0
391 stars 143 forks source link

error when run MarkdownField() #85

Open nganty opened 6 years ago

nganty commented 6 years ago

Error during template rendering In template C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\contrib\admin\templates\admin\includes\fieldset.html, error at line 19

context must be a dict rather than Context. line 19 {{ field.field }}

My command in models.py

body = MarkdownField()

Please help me solve this error. I tried but I don't understand how has this error.

nganty commented 6 years ago

Oh. I solved this issue by install https://github.com/neutronX/django-markdownx. Maybe, this error is not support between Django and Django-markdown. Please inorge this!Thank you!