Skip to content

Commit

Permalink
fix: Remove pytest from Pipfile due to conflict, and add ALLOWED_HOST… (
Browse files Browse the repository at this point in the history
#1128)

* fix: Remove pytest from Pipfile due to conflict, and add ALLOWED_HOSTS to example_project/settings (0.0.0.0:8000 doesn't load because not an allowed host)

* fix: Added pytest <6 to Pipfile and remade Pipfile.lock
  • Loading branch information
sebp999 authored Oct 30, 2020
1 parent 7bce794 commit 311d9a1
Show file tree
Hide file tree
Showing 3 changed files with 174 additions and 35 deletions.
4 changes: 2 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rapid-router = {path = ".",editable = true}
django-selenium-clean = "==0.3.2"
selenium = "==3.14.0"
pytest-django = ">=3.5.1<3.6.0"
pytest = "==4.6.7"
pytest = "<6"

[requires]
python_version = "3.6.7"
python_version = "3.6"
204 changes: 171 additions & 33 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions example_project/example_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
'game',
)

ALLOWED_HOSTS = ['*']
PIPELINE_ENABLED = False

try:
Expand Down

0 comments on commit 311d9a1

Please sign in to comment.