Django application to manage documents in ReStructuredText
Project description
Introduction
Sveetchies-documents is a Django application to manage text documents. It work almost like a Wiki.
Features
Usage of the ReStructuredText docutils parser;
Templates builded with Foundation5;
Rich editor djangocodemirror;
Nice forms with django-crispy-forms;
Usage of autobreadcrumbs;
Optional usage of Assets bundles with django-assets;
Usage of the Django cache system for the parser rendering;
A management board ready to use in frontend;
Two kind of documents :
Page : For full page documents with children pages in a sitemap tree;
Insert : For documents to insert as fragment in your templates;
Simple collaborative way (History, authoring) for Pages;
Templatetags to use documents in your templates;
Fully internationalized;
Links
Download his PyPi package;
Clone it on his Github repository;
Requires
Django >= 1.5;
docutils >= 0.7;
rstview >= 0.2;
autobreadcrumbs >= 1.0;
djangocodemirror >= 0.9.4;
django-mptt >= 0.5.2;
crispy-forms-foundation >= 1.4.0;
django-braces >= 1.3.0;
Optionnally :
django-assets to use Assets bundles instead of plain assets, you will have to load these bundles instead of raw asset files, perform this with overriding sveedocuments/assets_css.html and sveedocuments/assets_js.html in your project templates directory.
South to perform database migrations for next releases;
Install
Add it to your installed apps in settings :
INSTALLED_APPS = ( ... 'autobreadcrumbs', 'djangocodemirror', 'rstview', 'mptt', 'sveedocuments', ... )
Also you can overrides app settings to change some behaviors, see sveedocuments.local_settings to see what you can override in your project settings like DOCUMENTS_PAGE_TEMPLATES to add new templates to use to build your pages.
Finally mount its urls into your main urls.py :
urlpatterns = patterns('', ... (r'^documents/', include('sveedocuments.urls', namespace='sveedocuments')), ... )
Usage
Signals
sveedocuments use Django signals to send signals when Page or Insert is updated (when created or edited), you can listen to them to perform some tasks. These signals are :
sveedocuments.models.documents_page_update_signal for Page updates;
sveedocuments.models.documents_insert_update_signal for Insert updates;
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.