Metadata-Version: 1.1
Name: django-light-draft
Version: 0.2a
Summary: Preview changes without saving the data into db.
Home-page: https://github.com/zerc/django-light-draft
Author: Vladimir Savin
Author-email: zero13cool@yandex.ru
License: MIT
Description: django-light-draft
        ==================
        
        Preview changes without saving data into a db.
        
        Install
        -------
        
        Usual way:
        
        ::
        
            pip install django-light-draft
        
        
        Edit your settings.py:
        
        .. code:: python
        
            INSTALLED_APPS = (
                ...
        
                'light_draft',
        
            )
        
        
        Then you just need to inherit admin and detail views like this:
        
        admin.py:
        
        .. code:: python
        
            from light_draft.admin import DraftAdmin
        
            class MyModelAdmin(DraftAdmin):
                ...
        
        views.py
        
        .. code:: python
        
            from light_draft.views import BaseDraftView
        
            class MyModelDetailView(BaseDraftView):
                ...
        
        
        See **example/blog** app for more details.
        
        
        NOTES
        -----
        
        1. Your models must define their own  **.get_absoulte_url** method.
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Framework :: Django
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
