def get_pattern(app_name=u'wiki', namespace=u'wiki', url_config_class=None):
 if (url_config_class is None):
  url_config_classname = getattr(settings, u'URL_CONFIG_CLASS', None)
  if (url_config_classname is None):
   url_config_class = WikiURLPatterns
  else:
   url_config_class = get_class_from_str(url_config_classname)
 urlpatterns = url_config_class().get_urls()
 return (urlpatterns, app_name, namespace)

def get_pattern ( app_name = u'wiki' , namespace = u'wiki' , url_config_class = None ) : if ( url_config_class is None ) : url_config_classname = getattr ( settings , u'URL_CONFIG_CLASS' , None ) if ( url_config_classname is None ) : url_config_class = WikiURLPatterns else : url_config_class = get_class_from_str ( url_config_classname ) urlpatterns = url_config_class ( ) . get_urls ( ) return ( urlpatterns , app_name , namespace )
every url resolution takes place as "wiki:view_name" .