We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a96299 commit 7e30f8cCopy full SHA for 7e30f8c
1 file changed
openwisp_controller/config/tests/test_admin.py
@@ -1436,7 +1436,7 @@ def test_malformed_admin_urls_return_404(self):
1436
)
1437
1438
# HISTORY URL (kept as existing explicit admin name)
1439
- history_url_name = f"admin:{model_admin_name}_history"
+ history_url_name = admin_urlname(model_map[model_name]._meta, "history")
1440
valid_history_url = reverse(history_url_name, args=[valid_pk])
1441
malformed_history_url = f"{valid_history_url}{junk_path}"
1442
0 commit comments