Fixes collectstatic storage type, closes #130 (#131)

This commit is contained in:
Nikita Sobolev
2019-08-16 15:45:07 +03:00
committed by GitHub
parent 7bf1664307
commit d94b7b0c6a

View File

@@ -1,6 +1,6 @@
from typing import Any, Dict, List
from django.core.files.storage import FileSystemStorage
from django.core.files.storage import Storage
from django.core.management.base import BaseCommand
class Command(BaseCommand):
@@ -23,6 +23,6 @@ class Command(BaseCommand):
def log(self, msg: str, level: int = ...) -> None: ...
def is_local_storage(self) -> bool: ...
def clear_dir(self, path: str) -> None: ...
def delete_file(self, path: str, prefixed_path: str, source_storage: FileSystemStorage) -> bool: ...
def link_file(self, path: str, prefixed_path: str, source_storage: FileSystemStorage) -> None: ...
def copy_file(self, path: str, prefixed_path: str, source_storage: FileSystemStorage) -> None: ...
def delete_file(self, path: str, prefixed_path: str, source_storage: Storage) -> bool: ...
def link_file(self, path: str, prefixed_path: str, source_storage: Storage) -> None: ...
def copy_file(self, path: str, prefixed_path: str, source_storage: Storage) -> None: ...