feat: Используем pytest для бекенда
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
pytest==6.2.3
|
||||
djangorestframework==3.12.4
|
||||
django-filter==2.4.0
|
||||
markdown==3.3.4
|
||||
|
||||
Reference in New Issue
Block a user