skip to navigation
skip to content

mkeditor 0.1

A custom form widget of Django for markdown

## Django MKEditor
A form widget that change the textfield style to the markdown.


## Installation
1. Get the code: `pip install mkeditor`
2. Add `mkedirot` to your `INSTALLED_APPS`

## Usage
1. In

from mkeditor.widgets import MarkdownWidget

class ArticleForm(forms.ModelForm):
class Meta:
widgets = {
'content': MarkdownWidget, # the content is model field

2. In

from .form import ArticleForm

class ArticleAdmin(admin.ModelAdmin):
form = ArticleForm, ArticleAdmin)
File Type Py Version Uploaded on Size
mkeditor-0.1.tar.gz (md5) Source 2018-03-14 1MB