skip to navigation
skip to content

Not Logged In

django-epiced 0.3.1

A Django app to add the EpicEditor with easy to use widget.

EpicEd is a markdown field with the default widjet using EpicEditor.js http://epiceditor.com/

This plugin is made to keep a much as possible the possibilities to overide EpicEditor.js configurations the only settings you'll not be able to edit are 'container' and 'textarea' since they are rewriten by the wideget and are needed to save the data to the database.

Quick start

  1. Install django-epiced

    pip install django-epiced
    
  2. Add it to your installed apps

    INSTALLED_APPS = (
        ...
        'epiced',
    )
    
  3. Use it in your model

    from epiced.models import EpicEditorField
    
    class Post(models.Model):
        article = EpicEditorField()
    
  4. Sync your database

    python manage.py syncdb
    
    OR with south ::
    
    python manage.py schemamigration ...
    
  5. Create an admin page or a form template.

  6. Now you should have the EpicEditor in your admin and/or template.

  7. To display the html version of the text in your template use

    {{ post.article_html|safe }}
    
  8. Enjoy a markdown editor that won't break your html!

Form more read the documentation at : http://django-epiced.readthedocs.org

Thanks

I'd like to thank John Gruber and Aaron Swartz.for the markdown language http://daringfireball.net/projects/markdown/

Thanks to Oscar Godson and John Donahue for EpicEditor : http://epiceditor.com/

Thanks to carljm creator of this snippet : http://djangosnippets.org/snippets/882/ used to complete the EpicEditorField

and Shaun Sephton for creating the django-ckeditor that inspired the widget associated with the field https://github.com/shaunsephton/django-ckeditor

History

0.3.1

- Updated to Epic Editor 0.2.2

0.3.0

*Attention, since it's so easy to use this pluggin I've changed the default
escaping of the HTML, Please refer to the documentation.*
- Security update : now html is escaped by default
- Added the automatic install of Markdown (Thanks daikeren for the patch)
- Added formsets support (Thanks szuliq for the bug repport)
- Added small test_site for debugging
- Updated documentation for the security update

0.2.1

Typo correction in the documentation

0.2.0

bug fixes: Double slashes in images url
Typos

0.1.0

First Release
githalytics.com
 
File Type Py Version Uploaded on Size
django-epiced-0.3.1.tar.gz (md5) Source 2013-08-25 47KB
  • Downloads (All Versions):
  • 60 downloads in the last day
  • 219 downloads in the last week
  • 625 downloads in the last month