black reformat, some fixes

This commit is contained in:
Maxim Kurnikov
2018-12-06 19:13:06 +03:00
parent 25a71a7ef5
commit 5ec2830ba6
108 changed files with 673 additions and 187 deletions

View File

@@ -32,7 +32,9 @@ class MultipleObjectMixin(ContextMixin):
) -> Paginator: ...
def get_paginate_orphans(self) -> int: ...
def get_allow_empty(self) -> bool: ...
def get_context_object_name(self, object_list: Optional[Union[List[Dict[str, str]], QuerySet]]) -> Optional[str]: ...
def get_context_object_name(
self, object_list: Optional[Union[List[Dict[str, str]], QuerySet]]
) -> Optional[str]: ...
def get_context_data(self, *, object_list: Optional[Any] = ..., **kwargs: Any) -> Dict[str, Any]: ...
class BaseListView(MultipleObjectMixin, View):