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:
Fabian Henze
2021-04-30 19:23:33 +02:00
committed by GitHub
parent c633f3215f
commit e5ff9808cf
@@ -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 = ...