tomchristie/django-rest-framework — pull request #1333 by paulmelnikow (2014-01-04 22:03:49+00:00)
Title: Let viewsets specify their regex

BREAKING CHANGE

This patch allows a viewset to specify the regex that's used for routing.

It also changes the router's behavior when `trailing_slash=True`. It will no longer adjust the lookup regex to accept period characters. To obtain the old behavior, the specify `lookup_value_regex = '[^/]+'` on the viewset.