Skip to content

Commit 882579b

Browse files
committed
Don't check url reverses on the form admin:blahblah for the time being
- Legacy-Id: 12845
1 parent 0d5bc33 commit 882579b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/utils/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def check_that_url_tag_callbacks_exists(node, origin, callbacks):
167167
Check that an URLNode's callback is in callbacks.
168168
"""
169169
cb = node.view_name.token.strip("\"'")
170-
if cb in callbacks:
170+
if cb in callbacks or cb.startswith("admin:"):
171171
return []
172172
else:
173173
return [ (origin, cb), ]

0 commit comments

Comments
 (0)