diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2011-01-27 03:15:12 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2011-01-27 03:15:12 +0000 |
| commit | 9acd00a72e06c9b327089f12a6160aee4182f98b (patch) | |
| tree | 774a81afc0eb819acc7732787d553c5c5293d115 /django | |
| parent | a5cac772b6b74ed142af6ffe2829c55f1b730d19 (diff) | |
Fixed #15112 -- Ensure that IPv6 addresses are correctly displayed in the admin. Thanks to oxy for the report, and Łukasz Rekucki for the test case.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django')
| -rw-r--r-- | django/core/management/commands/runserver.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/core/management/commands/runserver.py b/django/core/management/commands/runserver.py index 55c7869fea..b265740359 100644 --- a/django/core/management/commands/runserver.py +++ b/django/core/management/commands/runserver.py @@ -63,6 +63,7 @@ class BaseRunserverCommand(BaseCommand): raise CommandError('"%s" is not a valid IPv6 address.' % self.addr) if not self.addr: self.addr = self.use_ipv6 and '::1' or '127.0.0.1' + self._raw_ipv6 = bool(self.use_ipv6) self.run(*args, **options) def run(self, *args, **options): |
