Adjust RTD version links

Favour `develop`/`master` over `latest`/`stable`
This commit is contained in:
Carlton Gibson 2016-11-18 09:23:40 +01:00
parent e2c09cbbb7
commit ad9fd789ae
3 changed files with 3 additions and 3 deletions

View File

@ -70,5 +70,5 @@ Support
If you have questions about usage or development you can join the
`mailing list`_.
.. _`read the docs`: https://django-filter.readthedocs.io/en/latest/
.. _`read the docs`: https://django-filter.readthedocs.io/en/develop/
.. _`mailing list`: http://groups.google.com/group/django-filter

View File

@ -328,7 +328,7 @@ class BaseFilterSet(object):
assert filter_class is not None, (
"%s resolved field '%s' with '%s' lookup to an unrecognized field "
"type %s. Try adding an override to 'Meta.filter_overrides'. See: "
"https://django-filter.readthedocs.io/en/latest/ref/filterset.html#customise-filter-generation-with-filter-overrides"
"https://django-filter.readthedocs.io/en/develop/ref/filterset.html#customise-filter-generation-with-filter-overrides"
) % (cls.__name__, name, lookup_expr, f.__class__.__name__)
return filter_class(**default)

View File

@ -22,7 +22,7 @@ from .exceptions import FieldLookupError
def deprecate(msg, level_modifier=0):
warnings.warn(
"%s See: https://django-filter.readthedocs.io/en/latest/migration.html" % msg,
"%s See: https://django-filter.readthedocs.io/en/develop/migration.html" % msg,
DeprecationWarning, stacklevel=3 + level_modifier)