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
In v3.15.0 the register function will fail with nested routes, cause the basename will be checked.
def register(self, prefix, viewset, basename=None):
if basename is None:
basename = self.get_default_basename(viewset)
if self.is_already_registered(basename):
msg = (f'Router with basename "{basename}" is already registered. '
f'Please provide a unique basename for viewset "{viewset}"')
raise ImproperlyConfigured(msg)
This will always raise ImproperlyConfigured exception if there are more then one nested routes based on the same root path.
In v3.15.0 the register function will fail with nested routes, cause the basename will be checked.
This will always raise
ImproperlyConfigured
exception if there are more then one nested routes based on the same root path.example:
The text was updated successfully, but these errors were encountered: