This is a fork, please consider using original repository (https://github.com/fusionbox/django-widgy), if you need their newest updates. This fork has some changes to original code and some new widgets.
Widgy is a content editor somewhat in the line of CKEditor. It is not a WYSIWYG editor though. Widgy is more suited than CKEditor for editing pages, as in a CMS because it allows you to edit specific parts of the page and those parts know how to render themselves. Whereas a WYSIWYG stores its data in HTML, Widgy stores it in a Tree where each node can render itself.
Widgy is available under the Apache Version 2.0 license. Contribute on github.
Read Widgy's documentation at http://docs.wid.gy.
Install with pip. :
pip install django-widgy
When developing Widgy, it might be handy to clone the repository then install it. :
git clone git://github.com/fusionbox/django-widgy
cd django-widgy
pip install -e .
Read about Widgy's data model at http://docs.wid.gy/en/latest/design/data-model.html.
There is a developers mailing list available at widgy@fusionbox.com
make test
make test
will run both the JavaScript and Python tests. To test one or the other, use make test-js
or make test-py
.
Once coverage is installed (pip install coverage
), the Makefile has two commands to help report on code coverage. :
make coverage
will run the tests with coverage enabled and generate HTML coverage files. :
make browser
will run the tests and open the coverage report in your web browser.