Ticket #15112: ipv6_address_notation.diff

File ipv6_address_notation.diff, 568 bytes (added by Elmar Athmer, 14 years ago)

sets the variable used to determine if the address should be surrounded by brackets

  • django/core/management/commands/runserver.py

     
    6363                    raise CommandError('"%s" is not a valid IPv6 address.' % self.addr)
    6464        if not self.addr:
    6565            self.addr = self.use_ipv6 and '::1' or '127.0.0.1'
     66            self._raw_ipv6 = self.use_ipv6
    6667        self.run(*args, **options)
    6768
    6869    def run(self, *args, **options):
Back to Top