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 ?
in one of my child model i have a change password custom urls
and when i try to access:
the url become:
and 1/password is catched as object id for the change view
Any help ?