Correct type of core.management.commands.runserver.Command.default_port (#604)

Strangely this variable is actually a string:
8bcb00858e/django/core/management/commands/runserver.py (L33)
This commit is contained in:
Fabian Henze
2021-04-30 19:23:33 +02:00
committed by GitHub
parent c633f3215f
commit e5ff9808cf

View File

@@ -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 = ...