This is caused by a security-related change in Django 1.3.1. You can disable this behavior by adding the following to your settings_local.py file:

 

USE_X_FORWARDED_HOST = True