polymorphic.admin
=================

ModelAdmin classes
------------------

The ``PolymorphicParentModelAdmin`` class
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: polymorphic.admin.PolymorphicParentModelAdmin
    :members:
    :undoc-members:
    :show-inheritance:


The ``PolymorphicChildModelAdmin`` class
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: polymorphic.admin.PolymorphicChildModelAdmin
    :members:
    :undoc-members:
    :show-inheritance:


List filtering
--------------

The ``PolymorphicChildModelFilter`` class
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: polymorphic.admin.PolymorphicChildModelFilter
    :show-inheritance:


Inlines support
---------------

The ``StackedPolymorphicInline`` class
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: polymorphic.admin.StackedPolymorphicInline
    :show-inheritance:


The ``GenericStackedPolymorphicInline`` class
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: polymorphic.admin.GenericStackedPolymorphicInline
    :members:
    :undoc-members:
    :show-inheritance:


The ``PolymorphicInlineSupportMixin`` class
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: polymorphic.admin.PolymorphicInlineSupportMixin
    :members:
    :undoc-members:
    :show-inheritance:


Low-level classes
-----------------

These classes are useful when existing parts of the admin classes.


.. autoclass:: polymorphic.admin.PolymorphicModelChoiceForm
    :members:
    :undoc-members:
    :show-inheritance:


.. autoclass:: polymorphic.admin.PolymorphicInlineModelAdmin
    :members:
    :undoc-members:
    :show-inheritance:


.. autoclass:: polymorphic.admin.GenericPolymorphicInlineModelAdmin
    :members:
    :undoc-members:
    :show-inheritance:


.. autoclass:: polymorphic.admin.PolymorphicInlineAdminForm
    :show-inheritance:


.. autoclass:: polymorphic.admin.PolymorphicInlineAdminFormSet
    :show-inheritance:

