Skip to content
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.

swagger urls endpoint crashes when placed in url with regex capture #382

Closed
dtheodor opened this issue Nov 27, 2015 · 0 comments · Fixed by #383
Closed

swagger urls endpoint crashes when placed in url with regex capture #382

dtheodor opened this issue Nov 27, 2015 · 0 comments · Fixed by #383

Comments

@dtheodor
Copy link
Contributor

When placing 'rest_framework_swagger.urls' in a url such as

(r'^(?P<version>[v1|v2])/docs/', include('rest_framework_swagger.urls')),

it crashes with a 500 : INTERNAL SERVER ERROR that originates from a TypeError: get() got an unexpected keyword argument 'version'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant