klen / klen/django_markdown

Unable to successfully subclass MarkdownModelAdmin

Open
#43 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
389
Forks
140
PR merge metrics
No merged PRs in 30d

Description

I'm following [this tutorial](http://arunrocks.com/recreating-the-building-a-blog-in-django-screencast/) and I've followed the guide exactly. Still I'm unable to get the MarkdownModelAdmin functionality working (MarkdownField for text entry and a preview of the formatted markdown in the admin panel).

There are others who have had the same problem and reported this in the youtube comments. One person suggests changing the TextField to a MarkdownField in the model, but this doesn't really seem like an optimal solution, since the preview functionality doesn't work.

Is this a bug or a feature and if it's a feature, how do I get this working?
##

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7160080-unable-to-successfully-subclass-markdownmodeladmin?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

The issue names no source file or test; first reproduce the tutorial setup and compare the TextField, MarkdownField, and MarkdownModelAdmin configuration described there. Trace how the admin form and preview are wired, then verify that Markdown entry and formatted preview both work in the admin panel.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, javascript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.