'Lazy loading for URL patterns.
This method avoids problems associated with attempting to evaluate
the URLconf before the settings module has been loaded.'

@property
def _lazy_urls(self):

    def url_patterns():
        return self._urls()[0]
    return (LazyURLPattern(url_patterns), self.namespace, self.slug)
