def METHOD_NAME(self, urlpatterns):
    """
    Customise URL patterns.
    This method allows decorators to be wrapped around an apps URL
    patterns.
    By default, this only allows custom decorators to be specified, but you
    could override this method to do anything you want.
    Args:
        urlpatterns (list): A list of URL patterns
    """
    # Test if this the URLs in the Application instance should be
    # available.  If the feature is hidden then we don't include the URLs.
    if feature_hidden(self.hidable_feature_name):
        return []
    for pattern in urlpatterns:
        if hasattr(pattern, "url_patterns"):
            self.METHOD_NAME(pattern.url_patterns)
        if isinstance(pattern, URLPattern):
            # Apply the custom view decorator (if any) set for this class if this
            # is a URL Pattern.
            decorator = self.get_url_decorator(pattern)
            if decorator:
                pattern.callback = decorator(pattern.callback)
    return urlpatterns