-
-
Notifications
You must be signed in to change notification settings - Fork 302
Open
Description
in one of my child model i have a change password custom urls
def get_urls(self):
return [
path(
'<path:object_id>/password/',
self.admin_site.admin_view(self.mymodel_change_password),
name='mymodel_password_change',
),
] + super().get_urls()and when i try to access:
/admin/importers/importateur/1/password/
the url become:
/admin/importers/importateur/1/password/change/
and 1/password is catched as object id for the change view
Any help ?
Metadata
Metadata
Assignees
Labels
No labels