Fix docs with regard to moving Non-Meta options

This commit is contained in:
Daniel Hahler 2016-10-07 21:16:47 +02:00
parent e40e45e38b
commit 3f2df252e2
1 changed files with 3 additions and 13 deletions

View File

@ -12,6 +12,8 @@ Meta options
- :ref:`order_by <order-by>`
- :ref:`form <form>`
- :ref:`together <together>`
- filter_overrides
- :ref:`strict <strict>`
.. _model:
@ -120,7 +122,7 @@ This lets you override the displayed names for your ordering fields::
Note that the default query parameter name used for ordering is ``o``. You
can override this by setting an ``order_by_field`` attribute on the
``FilterSet`` class to the string value you would like to use.
``FilterSet``'s Meta class to the string value you would like to use.
.. _form:
@ -152,18 +154,6 @@ field set must either be all or none present in the request for
fields = ['price', 'release_date', 'rating']
together = ['rating', 'price']
Non-Meta options
----------------
Note that these options do not go in the Meta class, they are specified directly
in your FilterSet class.
- filter_overrides
- order_by_field
- :ref:`strict <strict>`
.. _strict:
``strict``