From 0ee81d4b421046ee36f14092834cd6255d64e474 Mon Sep 17 00:00:00 2001 From: Aleksey Lobanov Date: Tue, 27 Apr 2021 23:12:51 +0300 Subject: [PATCH] =?UTF-8?q?feat:=20=D0=98=D1=81=D0=BF=D0=BE=D0=BB=D1=8C?= =?UTF-8?q?=D0=B7=D1=83=D0=B5=D0=BC=20pytest=20=D0=B4=D0=BB=D1=8F=20=D0=B1?= =?UTF-8?q?=D0=B5=D0=BA=D0=B5=D0=BD=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/backend/settings.py | 2 +- backend/requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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