def url(path, view, *args, **kwargs):
    if callable(view):
        func = endpoint_url
    elif isinstance(view, (list, tuple)):
        func = include_url
    else:
        raise TypeError('Invalid view %r of type %r' % (view, type(view)))
    return func(path, view, *args, **kwargs)
wrapper of django.conf.urls.url,
dataset/ETHPy150Open afg984/django-fsu/django_fsu/__init__.py/url