test_routers.py
9.58 KB
-
Router: Do not automatically adjust lookup_regex when trailing_slash is True · 3cd15fb1
BREAKING CHANGE When trailing_slash is set to True, the router no longer will adjust the lookup regex to allow it to include periods. To simulate the old behavior, the programmer should specify `lookup_regex = '[^/]+'` on the viewset. https://github.com/tomchristie/django-rest-framework/pull/1328#issuecomment-31517099
Paul Melnikow committed