Django-servee-document is a document plugin for django-servee
It requires django-easy-thumbnails (which, requires PIL, and to use document thumbnails, you must have imagick/convert+wvWare installed)
Also note, the default settings should suffice, and these are not required.
SERVEE_INSERT_STORAGE_CLASS SERVEE_DOCUMENT_INSERT_UPLOAD_TO
There are no views or URLS for this project, it uses the default views, urls, and forms of the Servee ModelInsert class.
To try it out:
- Download the project.
- run python setup.py develop [requires django-servee=>0.6 which is trunk, not in PyPI]
- cd example_project
- python manage.py syncdb
- python manage.py runserver
- http://localhost:8000/login/
- Click "edit flatpage"
- Put your cursor in the wysiwyg window
- Click the "add button" at the bottom left of the wysiwyg toolbar and click "document"
- Upload a document from your computer
- Click the document thumbnail, then place it in your editor.