diff --git a/backend/backend/settings.py b/backend/backend/settings.py index 32b39d6..e00523f 100644 --- a/backend/backend/settings.py +++ b/backend/backend/settings.py @@ -28,7 +28,7 @@ DEBUG = True ALLOWED_HOSTS = [] if DEBUG: - ALLOWED_HOSTS = ["0.0.0.0", "localhost", "127.0.0.1"] + ALLOWED_HOSTS = ["0.0.0.0", "localhost", "127.0.0.1", "ALLOWED_HOSTS", "testserver"] # Application definition diff --git a/backend/requirements.txt b/backend/requirements.txt index 2c9488b..fe00bac 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -1,3 +1,4 @@ +pytest==6.2.3 djangorestframework==3.12.4 django-filter==2.4.0 markdown==3.3.4