Skip to content

Commit

Permalink
Add notes regarding modeladmin
Browse files Browse the repository at this point in the history
  • Loading branch information
katdom13 authored and nickmoreton committed Oct 25, 2023
1 parent df06c7d commit 724d524
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion sandbox/sandbox/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
'wagtail.search',
'wagtail.admin',
'wagtail',
'wagtail.contrib.modeladmin',
# 'wagtail_modeladmin', # if Wagtail >=5.1; Don't repeat if it's there already
'wagtail.contrib.modeladmin', # if Wagtail <5.1; Don't repeat if it's there already
'wagtail.contrib.styleguide',

'modelcluster',
Expand Down
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ def pytest_configure():
"wagtail.search",
"wagtail.admin",
"wagtail",
"wagtail.contrib.modeladmin",
# "wagtail_modeladmin", # if Wagtail >=5.1; Don't repeat if it's there already
"wagtail.contrib.modeladmin", # if Wagtail <5.1; Don't repeat if it's there already
"modelcluster",
"taggit",
"django.contrib.admin",
Expand Down

0 comments on commit 724d524

Please sign in to comment.