Don't check url reverses on the form admin:blahblah for the time being
- Legacy-Id: 12845
This commit is contained in:
parent
0d5bc33283
commit
882579bab3
|
@ -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), ]
|
||||
|
|
Loading…
Reference in a new issue