Patching Django 1.5 to handle underscores in subdomains.