feat: Используем pytest для бекенда

This commit is contained in:
2021-04-27 23:12:51 +03:00
parent bba4be6b27
commit 0ee81d4b42
2 changed files with 2 additions and 1 deletions

View File

@@ -28,7 +28,7 @@ DEBUG = True
ALLOWED_HOSTS = [] ALLOWED_HOSTS = []
if DEBUG: 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 # Application definition

View File

@@ -1,3 +1,4 @@
pytest==6.2.3
djangorestframework==3.12.4 djangorestframework==3.12.4
django-filter==2.4.0 django-filter==2.4.0
markdown==3.3.4 markdown==3.3.4