-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mise à jour de Wagtail en version 6.4 (#270)
* Update Wagtail to version 6.4, start moving to just * Update CI to manage multiple versions of PostgreSQL
- Loading branch information
Showing
11 changed files
with
185 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
set dotenv-load | ||
set shell := ["bash", "-uc"] | ||
|
||
poetry_run := if env("USE_POETRY", "0") == "1" { "poetry run" } else { "" } | ||
|
||
default: | ||
just -l | ||
|
||
alias mm:= makemigrations | ||
makemigrations app="": | ||
{{poetry_run}} python manage.py makemigrations {{app}} | ||
|
||
alias mi := migrate | ||
migrate app="" version="": | ||
{{poetry_run}} python manage.py migrate {{app}} {{version}} | ||
|
||
mmi: | ||
just makemigrations | ||
just migrate | ||
|
||
test app="": | ||
{{poetry_run}} python manage.py test {{app}} --buffer --parallel | ||
|
||
unittest app="": | ||
{{poetry_run}} python manage.py test {{app}} --settings config.settings_test |
Oops, something went wrong.