From e5ff9808cf2bd53a23679ad0cb5443167ad24806 Mon Sep 17 00:00:00 2001 From: Fabian Henze <32638720+henzef@users.noreply.github.com> Date: Fri, 30 Apr 2021 19:23:33 +0200 Subject: [PATCH] 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 --- django-stubs/core/management/commands/runserver.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django-stubs/core/management/commands/runserver.pyi b/django-stubs/core/management/commands/runserver.pyi index 57dcf9b..8a8527e 100644 --- a/django-stubs/core/management/commands/runserver.pyi +++ b/django-stubs/core/management/commands/runserver.pyi @@ -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 = ...