allowed_hosts in settings, pictures ordering in models