API root view return nothing when I enable NamespaceVersioning
#7744
Unanswered
BrickXu
asked this question in
Potential Issue
Replies: 1 comment
-
Same issue. i noticed that the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
I meet a problem when I enable
NamespaceVersioning
in the settings. but theAPIRoot
view return a empty dict in the browsable api page.here is my settings and code segments:
Then I debug the code, it shows me a very strange view_name in the
rest_framework.reverse.reverse
, it seems append the version prefix twice, like "v1:v1:label", it causedNoReverseMatch
error.Do I miss something to set in the settings or I use
NamespaceVersioning
in the wrong way?Beta Was this translation helpful? Give feedback.
All reactions