Files
django-stubs/django/contrib/staticfiles/utils.pyi
Maxim Kurnikov a9f215bf64 initial commit
2018-07-29 18:12:23 +03:00

24 lines
508 B
Python

from collections import OrderedDict
from django.core.files.storage import (
DefaultStorage,
FileSystemStorage,
)
from typing import (
Iterator,
List,
Tuple,
Union,
)
def check_settings(base_url: str = ...) -> None: ...
def get_files(
storage: Union[FileSystemStorage, DefaultStorage],
ignore_patterns: List[str] = ...,
location: str = ...
) -> Iterator[str]: ...
def matches_patterns(path: str, patterns: Union[OrderedDict, Tuple[str], List[str]] = ...) -> bool: ...