cleanup some stubs in contrib.admin, contrib.admindocs (#169)

This commit is contained in:
Maxim Kurnikov
2019-09-17 23:30:49 +03:00
committed by GitHub
parent 813dd8cc1a
commit a8fdd4c673
6 changed files with 27 additions and 55 deletions

View File

@@ -1,3 +1,5 @@
from typing import Any, Callable, Optional
from typing import Any, Callable, Optional, Type
def register(*models: Any, site: Optional[Any] = ...) -> Callable: ...
from django.db.models.base import Model
def register(*models: Type[Model], site: Optional[Any] = ...) -> Callable: ...