Preview changes without saving the data into db.
Project description
Preview changes without saving data into a db.
Install
Usual way:
pip install django-light-draft
Edit your settings.py:
INSTALLED_APPS = (
...
'light_draft',
)
Then you just need to inherit admin and detail views like this:
admin.py:
from light_draft.admin import DraftAdmin
class MyModelAdmin(DraftAdmin):
...
views.py
from light_draft.views import BaseDraftView
class MyModelDetailView(BaseDraftView):
...
See example/blog app for more details.
NOTES
Your models must define their own .get_absoulte_url method.
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.