diff --git a/pinaxcon/settings.py b/pinaxcon/settings.py index 5935ae1fc6162ec91ad70605ffd58539f0923c0a..58fcab6619027a6426219c6dfe56b4a80cee6ce0 100644 --- a/pinaxcon/settings.py +++ b/pinaxcon/settings.py @@ -22,7 +22,7 @@ import dj_database_url db_from_env = dj_database_url.config() DATABASES['default'].update(db_from_env) -ALLOWED_HOSTS = [".localhost", ".herokuapp.com", ".northbaypython.org"] +ALLOWED_HOSTS = [".localhost", ".herokuapp.com", ".northbaypython.org", "127.0.0.1"] CANONICAL_HOST = os.environ.get("DJANGO_CANONICAL_HOST", None) # If DEFAULT_FROM_EMAIL is not set, email will most likely break in prod.