fix #25

fixes issue #25 by specifically checking if we use django-cms' AppRegexURLResolver