8

Update Wagtail imports to work for 2.0

This commit is contained in:
Kaitlyn Crawford
2018-12-18 13:32:02 +02:00
parent 9c45ac56db
commit 1c74e6cfb9
18 changed files with 59 additions and 59 deletions

View File

@@ -9,7 +9,7 @@ pytest_plugins = [
@pytest.fixture(scope='session')
def django_db_setup(django_db_setup, django_db_blocker):
from wagtail.wagtailcore.models import Page, Site
from wagtail.core.models import Page, Site
with django_db_blocker.unblock():
# Remove some initial data that is brought by the tests.site module