module documentation

Undocumented

Function i18n​_patterns Add the language code prefix to every URL pattern within this function. This may only be used in the root URLconf, not in an included URLconf.
Variable urlpatterns Undocumented
Function is​_language​_prefix​_patterns​_used No summary
def i18n_patterns(*urls, prefix_default_language=True):
Add the language code prefix to every URL pattern within this function. This may only be used in the root URLconf, not in an included URLconf.
urlpatterns =

Undocumented

@functools.lru_cache(maxsize=None)
def is_language_prefix_patterns_used(urlconf):
Return a tuple of two booleans: (
True if i18n_patterns() (LocalePrefixPattern) is used in the URLconf, True if the default language should be prefixed

)