Update Wagtail imports to work for 2.0
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user