def reverse(viewname,
            urlconf=None,
            args=None,
            kwargs=None,
            prefix=None,
            current_app=None):
    url = reverse_default(viewname, urlconf, args, kwargs, prefix, current_app)
    return clean_tenant_url(url)
def reverse(viewname, urlconf=None, args=None, kwargs=None, prefix=None,
            current_app=None):
    if hasattr(settings, 'PUBLIC_SCHEMA_URL_TOKEN'):
        warnings.warn("PUBLIC_SCHEMA_URL_TOKEN is deprecated. "
                      "Use PUBLIC_SCHEMA_URLCONF instead.",
                      category=DeprecationWarning)

    url = reverse_default(viewname, urlconf, args, kwargs, prefix, current_app)
    return clean_tenant_url(url)
def reverse(viewname, urlconf=None, args=None, kwargs=None, prefix=None,
            current_app=None):
    url = reverse_default(
        viewname=viewname,
        urlconf=urlconf,
        args=args,
        kwargs=kwargs,
        current_app=current_app
    )
    return clean_tenant_url(url)
def reverse(viewname,
            urlconf=None,
            args=None,
            kwargs=None,
            prefix=None,
            current_app=None):
    warnings.warn(
        "PUBLIC_SCHEMA_URL_TOKEN is deprecated. Use PUBLIC_SCHEMA_URLCONF instead.",
        category=DeprecationWarning)

    url = reverse_default(viewname, urlconf, args, kwargs, prefix, current_app)
    return clean_tenant_url(url)
Exemplo n.º 5
0
 def render(self, context):
     url = super(SchemaURLNode, self).render(context)
     return clean_tenant_url(url)
Exemplo n.º 6
0
 def render(self, context):
     url = super(SchemaURLNode, self).render(context)
     return clean_tenant_url(url)