From 882579bab34d693c2c712f56906a781fb1744b0c Mon Sep 17 00:00:00 2001 From: Ole Laursen Date: Wed, 15 Feb 2017 18:39:35 +0000 Subject: [PATCH] Don't check url reverses on the form admin:blahblah for the time being - Legacy-Id: 12845 --- ietf/utils/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/utils/tests.py b/ietf/utils/tests.py index 886b75043..3fcb5b9d3 100644 --- a/ietf/utils/tests.py +++ b/ietf/utils/tests.py @@ -167,7 +167,7 @@ class TemplateChecksTestCase(TestCase): Check that an URLNode's callback is in callbacks. """ cb = node.view_name.token.strip("\"'") - if cb in callbacks: + if cb in callbacks or cb.startswith("admin:"): return [] else: return [ (origin, cb), ]