Closed
Description
In an DRF router endpoint I'm seeing the following behavior:
url(r'^api/v1/', include(router.urls)), # becomes "apiv1" in DRF docs output
Not sure exactly sure why slashes are being replaced on this line, but perhaps a strip('/')
than replace('/','')
would be more appropriate, as that would preserve slashes in the middle, like I need.
Happy to make a PR