Skip to content

Commit 820dab7

Browse files
authored
Merge pull request #8 from TonisPiip/wagtail-3
Wagtail 3
2 parents a6beb22 + 8eca002 commit 820dab7

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ services:
2424
ports:
2525
- 8000:8000
2626
db:
27-
image: postgres:9.6
27+
image: postgres:11
2828
environment:
2929
- POSTGRES_USER=postgres
3030
- POSTGRES_PASSWORD=password

example/settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
'wagtail.contrib.redirects',
3939
'wagtail.sites',
4040
'wagtail.contrib.modeladmin',
41-
'wagtail.contrib.postgres_search',
4241
'wagtail.contrib.settings',
4342
'wagtail.contrib.search_promotions',
4443

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919

2020
install_requires = [
21-
"wagtail>=2,<2.17",
21+
"wagtail>=2,<=3.0.3",
2222
"Unidecode>=0.04.14,<2.0",
2323
]
2424

tests/fields/test_hook_select_field.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from django.core import serializers
22
from django.core.exceptions import ValidationError
3-
from django.db import models
43
from django.forms import CheckboxSelectMultiple
54

65
from wagtailstreamforms.fields import HookMultiSelectFormField, HookSelectField

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
33
flake8
4-
py{37,38,39,310}-dj{32,40}-wt{215,216}
4+
py{37,38,39,310}-dj{32,40}-wt{215,216,30,40}
55

66
[gh-actions]
77
python =
@@ -18,6 +18,8 @@ deps =
1818
dj40: Django>=4.0,<4.1
1919
wt215: wagtail>=2.15,<2.16
2020
wt216: wagtail>=2.16,<2.17
21+
wt30: wagtail==3.0.*
22+
wt40: wagtail==4.0.*
2123

2224
commands =
2325
coverage run manage.py test

0 commit comments

Comments
 (0)