Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when run MarkdownField() #85

Open
nganty opened this issue Mar 16, 2018 · 1 comment
Open

error when run MarkdownField() #85

nganty opened this issue Mar 16, 2018 · 1 comment

Comments

@nganty
Copy link

nganty commented Mar 16, 2018

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
Copy link
Author

nganty commented Mar 17, 2018

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant