diff --git a/network_inventory/settings/docker.py b/network_inventory/settings/docker.py index d8dd82c..a68ec29 100644 --- a/network_inventory/settings/docker.py +++ b/network_inventory/settings/docker.py @@ -5,6 +5,9 @@ ALLOWED_HOSTS = [ '127.0.0.1', ] +CSRF_TRUSTED_ORIGINS = [ + 'http://localhost:8080', +] # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = os.environ.get('DJANGO_SECRET_KEY')