You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install drfdocs from GitHub repo. The latest release (pypi) version for drfdocs has a bug which affects auto generated
docs[1].
Refs: [1] manosim/django-rest-framework-docs#144
I have a project level
nestor/urls.py
file like this:Then
nestor/v1/urls.py
like:The generated URLs in the doc look like:
Clearly, the
v1/
prefix is missing. I think the culprit is the recursive part of the endpoint generator:https://github.com/manosim/django-rest-framework-docs/blob/master/rest_framework_docs/api_docs.py#L27
In that line, the
parent_patter
that was carried in the recursive call is replaced and not accumulated.Also, I have the impression that @manosim has stopped working on the package.
The text was updated successfully, but these errors were encountered: