Issue #667: Fix detection of Django admin url callbacks