From f51eab796d087439eedcb768cdd312517780940e Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Mon, 24 Sep 2012 22:02:59 -0300 Subject: Fixed #18072 -- Made more admin links use reverse() instead of hard-coded relative URLs. Thanks kmike for the report and initial patch for the changelist->edit object view link URL. Other affected links include the delete object one and object history one (in this case the change had been implemented in commit 5a9e127, this commit adds admin-quoting of the object PK in a way similar to a222d6e.) Refs #15294. --- tests/regressiontests/admin_custom_urls/fixtures/actions.json | 7 ------- 1 file changed, 7 deletions(-) (limited to 'tests/regressiontests/admin_custom_urls/fixtures/actions.json') diff --git a/tests/regressiontests/admin_custom_urls/fixtures/actions.json b/tests/regressiontests/admin_custom_urls/fixtures/actions.json index a63cf8135c..7c6341d71d 100644 --- a/tests/regressiontests/admin_custom_urls/fixtures/actions.json +++ b/tests/regressiontests/admin_custom_urls/fixtures/actions.json @@ -40,12 +40,5 @@ "fields": { "description": "An action with a name suspected of being a XSS attempt" } - }, - { - "pk": "The name of an action", - "model": "admin_custom_urls.action", - "fields": { - "description": "A generic action" - } } ] -- cgit v1.3