def _get_url_patterns(self):
        patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
        try:
            iter(patterns)
        except __HOLE__:
            raise ImproperlyConfigured("The included urlconf %s doesn't have any "
                "patterns in it" % self.urlconf_name)
        return patterns
dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/core/urlresolvers.py/RegexURLResolver._get_url_patterns