Skip to content

Commit

Permalink
Roll back Wagtail 3 support for now
Browse files Browse the repository at this point in the history
  • Loading branch information
chosak committed May 13, 2022
1 parent 2184f66 commit 3f2cf8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

install_requires = [
"tqdm>=4.15.0,<5",
"wagtail>=2.15,<4",
"wagtail>=2.15,<3",
]


Expand Down
6 changes: 2 additions & 4 deletions wagtailinventory/tests/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
from wagtailinventory.helpers import get_page_blocks


if wagtail.VERSION < (3,):
CORE_BLOCKS = "wagtail.core.blocks"
else:
CORE_BLOCKS = "wagtail.blocks"
CORE_BLOCKS = "wagtail.core.blocks"



class TestGetPageBlocks(TestCase):
Expand Down

0 comments on commit 3f2cf8c

Please sign in to comment.