Need to raise ImproperlyConfigured exception if basename is not unique #8439
Unanswered
dgravitate
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When
basename
is dynamically generated inBaseRouter.get_default_basename
, it could (and does) generate a conflicting basename when multiple routes use the same Model. Additionally, developers could inadvertently use a basename that has already been used elsewhere.In either case, this can lead to unexpected results when (correctly) using
reverse()
to get the URLSee PR #8438
Beta Was this translation helpful? Give feedback.
All reactions