Metadata-Version: 1.1
Name: django-fsm-admin
Version: 1.2.1
Summary: Integrate django-fsm state transitions into the django admin
Home-page: https://github.com/gadventures/django-fsm-admin
Author: G Adventures
Author-email: software@gadventures.com
License: MIT License
Description: .. _QuickCast: http://quick.as/aq8fogo
        .. _django-fsm: https://github.com/kmmbvnr/django-fsm
        
        ===============================
        django-fsm-admin
        ===============================
        
        Mixin and template tags to integrate django-fsm_
        state transitions into the django admin.
        
        Installation
        ------------
        ::
        
            $ pip install django-fsm-admin
        
        Or from github:
        
        ::
        
            $ pip install -e git://github.com/gadventures/django-fsm-admin.git#egg=django-fsm-admin
        
        Usage
        -----
        1. Add ``fsm_admin`` to your INSTALLED_APPS
        
        2. In your ``admin.py`` file, use `FSMTransitionMixin` to add behaviour to your ModelAdmin.
        
        ::
            
            from fsm_admin.mixins import FSMTransitionMixin
        
            class YourModelAdmin(FSMTransitionMixin, admin.ModelAdmin):
                pass
        
                admin.site.register(YourModel, YourModelAdmin)
        
        Try the example
        ---------------
        
        ::
        
            $ git clone git@github.com:gadventures/django-fsm-admin.git
            $ cd django-fsm-admin
            $ mkvirtualenv fsm_admin
            $ pip install -r requirements.txt
            $ python fsm_admin/setup.py develop
            $ cd example
            $ ./manage.py syncdb
            $ ./manage.py runserver
        
        Demo
        ----
        Watch a QuickCast_ of the django-fsm-admin example
        
        .. image:: http://i.imgur.com/IJuE9Sr.png
            :width: 728px
            :height: 346px
            :target: QuickCast_
        
        
Keywords: django
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Framework :: Django
