mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 12:44:29 +08:00
Add properties to runserver.Command (#135)
This commit is contained in:
committed by
Nikita Sobolev
parent
0545c2d3ea
commit
7bf1664307
@@ -1,6 +1,6 @@
|
||||
from argparse import ArgumentParser, HelpFormatter, Namespace
|
||||
from io import StringIO, TextIOBase, TextIOWrapper
|
||||
from typing import Any, Callable, List, Optional, Union
|
||||
from typing import Any, Callable, List, Optional, Union, Tuple
|
||||
|
||||
from django.apps.config import AppConfig
|
||||
from django.core.management.color import Style
|
||||
@@ -36,8 +36,8 @@ class BaseCommand:
|
||||
output_transaction: bool = ...
|
||||
requires_migrations_checks: bool = ...
|
||||
requires_system_checks: bool = ...
|
||||
base_stealth_options: Any = ...
|
||||
stealth_options: Any = ...
|
||||
base_stealth_options: Tuple[str, ...] = ...
|
||||
stealth_options: Tuple[str, ...] = ...
|
||||
stdout: OutputWrapper = ...
|
||||
stderr: OutputWrapper = ...
|
||||
style: Style = ...
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
from django.core.management.base import BaseCommand
|
||||
|
||||
class Command(BaseCommand): ...
|
||||
class Command(BaseCommand):
|
||||
default_addr: str = ...
|
||||
default_addr_ipv6: str = ...
|
||||
default_port: int = ...
|
||||
protocol: str = ...
|
||||
|
||||
Reference in New Issue
Block a user