fixed configuration of allowed_hosts for Django 1.5