paltman / django-admin-wmdeditor forked from stephrdev/django-admin-wmdeditor
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
AUTHORS | ||
| |
INSTALL | ||
| |
LICENSE | ||
| |
README.rst | ||
| |
admin_wmdeditor/ | ||
| |
demo_project/ |
README.rst
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 your MEDIA_ROOT as admin-wmdeditor or define WMDEDITOR_MEDIA_PREFIX and make sure, the needed files are available using the given prefix.
- Import WmdEditorModelAdmin from admin_wmdeditor and use this class instead admin.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 to http://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/

