Removed u'localhost' from ALLOWED_HOSTS in settings.