Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A custom form widget of Django for markdown

Project description

## 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)

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
mkeditor-0.1.tar.gz (1.3 MB) Copy SHA256 hash SHA256 Source None Mar 14, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page