Skip to content

Commit

Permalink
Update RTD links
Browse files Browse the repository at this point in the history
  • Loading branch information
carltongibson committed Oct 24, 2017
1 parent bc8ae38 commit 9910ee1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ Support
If you have questions about usage or development you can join the
`mailing list`_.

.. _`read the docs`: https://django-filter.readthedocs.io/en/develop/
.. _`read the docs`: https://django-filter.readthedocs.io/en/master/
.. _`mailing list`: http://groups.google.com/group/django-filter
.. _`DRF integration docs`: https://django-filter.readthedocs.io/en/develop/guide/rest_framework.html
.. _`DRF integration docs`: https://django-filter.readthedocs.io/en/master/guide/rest_framework.html
2 changes: 1 addition & 1 deletion django_filters/filterset.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def filter_for_field(cls, field, field_name, lookup_expr='exact'):
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/develop/ref/filterset.html#customise-filter-generation-with-filter-overrides"
"https://django-filter.readthedocs.io/en/master/ref/filterset.html#customise-filter-generation-with-filter-overrides"
) % (cls.__name__, field_name, lookup_expr, field.__class__.__name__)

return filter_class(**default)
Expand Down
2 changes: 1 addition & 1 deletion django_filters/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

def deprecate(msg, level_modifier=0):
warnings.warn(
"%s See: https://django-filter.readthedocs.io/en/develop/migration.html" % msg,
"%s See: https://django-filter.readthedocs.io/en/master/migration.html" % msg,
DeprecationWarning, stacklevel=3 + level_modifier)


Expand Down

0 comments on commit 9910ee1

Please sign in to comment.