Skip to content

Commit

Permalink
Force Django>5 and add flag to remove errors in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dalonsoa committed Aug 29, 2024
1 parent 001cc7d commit 86d02c3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions liionsden/settings/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,3 +207,7 @@
crossorigin="anonymous",
)
)


# To facilitate testing of MPTT with bakery
MPTT_ALLOW_TESTING_GENERATORS = True
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies = [
"pandas",
"psycopg2",
"django_jsoneditor",
"Django",
"Django>=5.0",
"djangorestframework",
"preparenovonix",
"PyYAML",
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ debugpy==1.8.5
# via Liionsden (pyproject.toml)
distlib==0.3.8
# via virtualenv
django==4.2.15
django==5.1
# via
# Liionsden (pyproject.toml)
# crispy-bootstrap5
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ cycler==0.12.1
# via matplotlib
debugpy==1.8.5
# via Liionsden (pyproject.toml)
django==4.2.15
django==5.1
# via
# Liionsden (pyproject.toml)
# crispy-bootstrap5
Expand Down

0 comments on commit 86d02c3

Please sign in to comment.