Public bug reported: If the django site lives somewhere that the admins have declared a bogus top-level domain, and chosen to use an rfc1035-conforming name (with a hyphen in the middle of it), then django URLField validation considers the domain to be invalid. (I suspect that IANA hasn't released any TLDs with hyphens yet - making them the ideal choice right now for "something that won't be real".)
That is to say: http://ubuntu-mirror.my-tld/ubuntu is flagged as an invalid URL, even though the DNS has an IP for it, and apt happily upgrades from the archive mirror that is there. Please fix the validator to allow hyphens in the tld_re. lamont ** Affects: python-django (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to python-django in Ubuntu. https://bugs.launchpad.net/bugs/1528710 Title: overly agressive URLField validation causes failures To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-django/+bug/1528710/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs