Skip to content

Commit

Permalink
Upgrade to wagtail 2.12 and Django 3
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettc committed Feb 4, 2021
1 parent 351b510 commit 6bde0ca
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# Local environment settings
digitaloxford/settings/local.py

# Web Logs
/htdocs/stats
/logs

# Installer logs
pip-log.txt
pip-delete-this-directory.txt
Expand Down Expand Up @@ -45,7 +41,7 @@ sdist/
var/
wheels/
/static
db.sqlite3
__pycache__

# Environments
.env
Expand All @@ -58,3 +54,6 @@ venv/

# vscode
.vscode

# Data
db.sqlite3
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Ignore everything
*
4 changes: 4 additions & 0 deletions home/migrations/0002_create_homepage.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ def remove_homepage(apps, schema_editor):

class Migration(migrations.Migration):

run_before = [
("wagtailcore", "0053_locale_model"), # added for Wagtail 2.11 compatibility
]

dependencies = [
('home', '0001_initial'),
]
Expand Down
8 changes: 6 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Django>=2.2,<=3.0
wagtail>=2.10
Django>=3.1,<3.2
wagtail>=2.12
wagtailmenus>=3.0
django-compressor==2.4
django-sass-processor==0.8.*
libsass==0.20.*
django-debug-toolbar==3.2

0 comments on commit 6bde0ca

Please sign in to comment.