What it means
Django checks the address of every request against a list called ALLOWED_HOSTS. When DEBUG is off, as it should be online, a request for an address that is not in the list is refused. Your Antideploy address is new, so it is not in your list yet.
How to fix it
-
Add your address to
ALLOWED_HOSTSUse the exact address, or the pattern
.antideploy.app, which matches every address under it.ALLOWED_HOSTS = [".antideploy.app"] CSRF_TRUSTED_ORIGINS = ["https://*.antideploy.app"] -
Add
CSRF_TRUSTED_ORIGINSfor formsWithout it, form submissions over HTTPS can be refused with a CSRF error.
-
Add your own domain if you attach one
Add
www.verdant.in, or your own name, to both settings.