Feature/django hosts compatibility