Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade wagtail to 6.2 #11

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
# Shortcuts for development when using docker-compose.
# Shortcuts for development when using docker compose.
# Part documentation, part convenience
#
# Whenever possible we recommend using an interactive shell inside of web
# container instead, since that gives full/easier access to any available
# Django or Wagtail commands
#
# This can be accessed by running: `docker-compose exec web bash`
# This can be accessed by running: `docker compose exec web bash`
shell:
docker-compose exec web bash
docker compose exec web bash

makemigrations:
docker-compose exec web python manage.py makemigrations
docker compose exec web python manage.py makemigrations

migrate:
docker-compose exec web python manage.py migrate
docker compose exec web python manage.py migrate

createsuperuser:
docker-compose exec web python manage.py createsuperuser
docker compose exec web python manage.py createsuperuser

# Run to trigger publishing of scheduled content when developing locally
# in production we run a cronjob that runs the wagtail command every x minutes
publish-scheduled:
docker-compose exec web python manage.py publish_scheduled
docker compose exec web python manage.py publish_scheduled


# Run to create a new app (aka. section) in the project
# Example: `make startapp name=blog`
startapp:
docker-compose exec web python manage.py startapp $(name)
docker compose exec web python manage.py startapp $(name)

test:
docker-compose exec web python manage.py test
docker compose exec web python manage.py test

# Run tests with sqllite instead of postgres, mainly for CI purposes
ci-test:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Django>=4.2,<4.3
wagtail>=5.2,<5.3
wagtail>=6.2
psycopg>=3.1.8,<4.0
Loading