Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/d/j/django-hotsauce-0.5.0/lib/notmm/utils/urlmap.py   Django-hotsauce(Download)
 
"""
from django_compat import RegexURLPattern, RegexURLResolver
from django.utils.importlib import import_module
import re
def url(regex, view, kwargs=None, name=None, prefix=''):
 
    if isinstance(view, (tuple, list)):
        # For include(...) processing.
        return RegexURLResolver(regex, view[0], kwargs, app_name=name, namespace=name)