@register.function
def services_url(viewname, *args, **kwargs):
 kwargs.update({'host': settings.SERVICES_URL})
 return url(viewname, *args, **kwargs)

@ register . function def services_url ( viewname , * args , ** kwargs ) : kwargs . update ( { 'host' : settings . SERVICES_URL } ) return url ( viewname , * args , ** kwargs )
helper for url with host=services_url .