move most of the generated files

This commit is contained in:
Maxim Kurnikov
2018-12-21 05:47:24 +03:00
parent 013b6ee538
commit d56ca8ea31
273 changed files with 139 additions and 1457 deletions

View File

@@ -0,0 +1,22 @@
from typing import Any, Dict, Optional, Union
from django.contrib.auth.models import AnonymousUser, User
from django.http.request import HttpRequest
from django.utils.functional import SimpleLazyObject
class PermLookupDict:
app_label: django.utils.safestring.SafeText
user: django.utils.functional.SimpleLazyObject
def __init__(self, user: SimpleLazyObject, app_label: str) -> None: ...
def __getitem__(self, perm_name: str) -> bool: ...
def __iter__(self) -> Any: ...
def __bool__(self) -> bool: ...
class PermWrapper:
user: django.utils.functional.SimpleLazyObject = ...
def __init__(self, user: Union[AnonymousUser, User]) -> None: ...
def __getitem__(self, app_label: str) -> PermLookupDict: ...
def __iter__(self) -> Any: ...
def __contains__(self, perm_name: Union[bool, str]) -> bool: ...
def auth(request: HttpRequest) -> Dict[str, Union[PermWrapper, AnonymousUser, User]]: ...