DRF version 3.15.1 creates strange api-root routes #9419
Unanswered
lukklim
asked this question in
Potential Issue
Replies: 1 comment
-
I think it is expected behavior. because DRF is now able to use path in it's actions. |
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
-
Hello.
I have some tests to make sure my url routes are properly set up and noticed that new version of DRF 3.15.1 creates url paths for api-root strangely(in my opinion it is wrong). It is not a major problem, because everything else seems working just fine, but worth noting.
DRF 3.14.0 example:
DRF 3.15.1 example:
Examples were created by adding code below to users app:
Tested with
Django==5.0.1
andDjango==5.0.6
Beta Was this translation helpful? Give feedback.
All reactions