django-admin-wmdeditor
django-admin-wmdeditor adds a markdown wysiwym editor to your textareas in djangos admin interface.
Quick installation instruction
- Link
admin_wmdeditor/media/admin-wmdeditor
in yourMEDIA_ROOT
asadmin-wmdeditor
or defineWMDEDITOR_MEDIA_PREFIX
and make sure, the needed files are available using the given prefix. - Import WmdEditorModelAdmin from
admin_wmdeditor
and use this class insteadadmin.ModelAdmin
- Define
wmdeditor_fields
as a tuple of fields where you want to use the markdown wysiwym editor - Thats it. Have fun!
Example project
This package provides a demo project, to show the usage of django-admin-wmdeditor.
- Go to
django-admin-wmdeditor/demo_project/
$ ./manage.py syncdb
and create a superuser$ ./manage.py runserver
and point your browser tohttp://127.0.0.1:8000/admin/
- Test the markdown wysiwym editor using the
MyModel
stuff.
License
The application is licensed under the New BSD License. See the LICENSE File for details. The WMD Editor (Copyright by Attacklab 2007-2008) is available at http://www.wmd-editor.com/