mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-05-25 01:38:40 +08:00
Correct type of core.management.commands.runserver.Command.default_port (#604)
Strangely this variable is actually a string: https://github.com/django/django/blob/8bcb00858e0ddec79cc96669c238d29c30d7effb/django/core/management/commands/runserver.py#L33
This commit is contained in:
@@ -3,5 +3,5 @@ from django.core.management.base import BaseCommand
|
||||
class Command(BaseCommand):
|
||||
default_addr: str = ...
|
||||
default_addr_ipv6: str = ...
|
||||
default_port: int = ...
|
||||
default_port: str = ...
|
||||
protocol: str = ...
|
||||
|
||||
Reference in New Issue
Block a user