module documentation

Undocumented

Function check_resolver Recursively check the resolver.
Function check_url_config Undocumented
Function check_url_namespaces_unique Warn if URL namespaces used in applications aren't unique.
Function check_url_settings Undocumented
Function E006 Undocumented
Function get_warning_for_invalid_pattern Return a list containing a warning that the pattern is invalid.
Function _load_all_namespaces Recursively load all namespaces from URL patterns.
def check_resolver(resolver): (source)

Recursively check the resolver.

@register(Tags.urls)
def check_url_config(app_configs, **kwargs): (source)

Undocumented

@register(Tags.urls)
def check_url_namespaces_unique(app_configs, **kwargs): (source)

Warn if URL namespaces used in applications aren't unique.

@register(Tags.urls)
def check_url_settings(app_configs, **kwargs): (source)

Undocumented

def E006(name): (source)

Undocumented

def get_warning_for_invalid_pattern(pattern): (source)

Return a list containing a warning that the pattern is invalid. describe_pattern() cannot be used here, because we cannot rely on the urlpattern having regex or name attributes.

def _load_all_namespaces(resolver, parents=()): (source)

Recursively load all namespaces from URL patterns.