Add settings deprecation docs
This commit is contained in:
parent
58114084c4
commit
8151cda319
|
@ -153,3 +153,13 @@ on the FilterSet:
|
|||
|
||||
To fix this, simply remove the methods from your class. You can subclass
|
||||
``OrderingFilter`` to migrate any custom logic.
|
||||
|
||||
|
||||
Deprecated ``FILTERS_HELP_TEXT_FILTER`` and ``FILTERS_HELP_TEXT_EXCLUDE``
|
||||
-------------------------------------------------------------------------
|
||||
Details: https://github.com/carltongibson/django-filter/pull/437
|
||||
|
||||
Generated filter labels in 1.0 will be more descriptive, including humanized
|
||||
text about the lookup being performed and if the filter is an exclusion filter.
|
||||
|
||||
These settings will no longer have an effect and will be removed in the 1.0 release.
|
||||
|
|
|
@ -16,9 +16,13 @@ Default: ``True``
|
|||
|
||||
Enable / disable the default field ``help_text`` on filters where ``exclude=True`` (:doc:`/ref/filters`). This does not affect fields which explicitly define ``help_text``.
|
||||
|
||||
.. note:: This setting is pending deprecation.
|
||||
|
||||
FILTERS_HELP_TEXT_FILTER
|
||||
------------------------
|
||||
|
||||
Default: ``True``
|
||||
|
||||
Enable / disable the default field ``help_text`` on filters where ``exclude=False`` (:doc:`/ref/filters`). This does not affect fields which explicitly define ``help_text``.
|
||||
|
||||
.. note:: This setting is pending deprecation.
|
||||
|
|
Loading…
Reference in New Issue