Markdown widget’s not added in admin
- Dominant language
- JavaScript
- Stars
- 389
- Forks
- 140
- PR merge metrics
- No merged PRs in 30d
Description
Markdown widget’s media i.e. javascript and stylesheets are not getting added in admin after explicitly defining form_overrides in Django 1.10
`class Entry(models.Model):
...
body = MarkdownField()
....
from django_markdown.widgets import AdminMarkdownWidget
from django_markdown.models import MarkdownField
class EntryAdmin(admin.ModelAdmin):
formfield_overrides = {MarkdownField: {'widget': AdminMarkdownWidget}}`
##
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37376452-markdown-widget-s-not-added-in-admin?utm_campaign=plugin&utm_content=tracker%2F332251&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F332251&utm_medium=issues&utm_source=github).
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue with Django 1.10 using the Entry model, MarkdownField, AdminMarkdownWidget, and the shown formfield_overrides configuration. Inspect how the Django admin includes the widget’s media, then verify that the Markdown JavaScript and stylesheets are loaded when the override is explicitly defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, javascript, python
- Domain
- backend, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100