apparently -very non important- bug in api root #8279
Unanswered
joseespinadote
asked this question in
Potential Issue
Replies: 2 comments 2 replies
-
I dont see any duplication. You are registering entregable and _entregable. Both are different viewsets. Maybe share your two viewsets, then you can get better help :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
The url is duplicated |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(newbie on DRF, and non english speaker here, sorry beforehand)

Hi! I created two ModelViewSet classes in my views.py for the same model (may be that's not the best practice), because I needed two totally different serializers to acomplish some frontend requirements
The generated list, at the api root site, duplicates one of the entries (just the url). See the picture for details
This doesnt' affect the functionality at all. But as I'm DRF user, I wanted to support notifying this concern
Bests, and thanks for creating DRF
PS.: this is part of the code at the urls.py:
Beta Was this translation helpful? Give feedback.
All reactions