Metadata-Version: 1.1
Name: django-admin-ordering
Version: 0.7.1
Summary: Orderable change lists and inlines done right^Wsimple
Home-page: https://github.com/matthiask/django-admin-ordering/
Author: Matthias Kestenholz
Author-email: mk@feinheit.ch
License: BSD License
Description-Content-Type: UNKNOWN
Description: ==============================================================================
        django-admin-ordering -- Orderable change lists and inlines done right^Wsimple
        ==============================================================================
        
        .. image:: https://travis-ci.org/matthiask/django-admin-ordering.svg?branch=master
            :target: https://travis-ci.org/matthiask/django-admin-ordering
        
        Steps
        =====
        
        0. Have a model ordered by an integer field.
        1. Install ``django-admin-ordering`` and add ``admin_ordering`` to
           ``INSTALLED_APPS``.
        2. Inherit ``admin_ordering.admin.OrderableAdmin`` in your own
           ``ModelAdmin`` and ``StackedInline``/``TabularInline`` subclasses and
           set ``ordering_field`` to a field name of the ordering integer field.
           Negative ordering (e.g. for a priority field) is also supported,
           simply prepend a minus sign to the ordering field. Also set
           ``fk_name`` to the parent foreign key if you want orderable inlines.
           Do absolutely nothing if you want an orderable changelist.
        3. Ensure that the field is displayed in the change form if you define
           fieldsets yourself, or is contained in ``list_editable`` for change lists.
        4. Report any bugs you find (patches welcome)!
        
        Limitations
        ===========
        
        - Starting with Django 1.9 newly created inlines are automatically assigned
          a good ordering value. Earlier versions do not support the required
          ``formset:added`` signal.
        - ``OrderableAdmin`` can be used both for inlines and parents, but this
          also means that you cannot register a model directly with
          ``OrderableAdmin``.
        
Platform: OS Independent
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
