def locale_url(path, locale=''):
"""
Generate the localeurl-enabled URL from a path without locale prefix. If
the locale is empty settings.LANGUAGE_CODE is used.
"""
path = locale_path(path, locale)
return add_script_prefix(path)
评论列表
文章目录