Skip to content

Commit

Permalink
Prevent Wagtail Transfer from following ContentType model
Browse files Browse the repository at this point in the history
  • Loading branch information
istride committed Jun 3, 2024
1 parent 4559600 commit 586d68d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iogt/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,10 +478,12 @@
from iogt.patch import *

WAGTAILTRANSFER_LOOKUP_FIELDS = {
"contenttypes.contenttype": ["app_label", "model"],
'taggit.tag': ['slug'],
'wagtailcore.locale': ['language_code'],
'iogt_users.user': ['username'],
}
WAGTAILTRANSFER_NO_FOLLOW_MODELS = ["wagtailcore.page", "contenttypes.contenttype"]
WAGTAILTRANSFER_SECRET_KEY = os.getenv('WAGTAILTRANSFER_SECRET_KEY')
WAGTAILTRANSFER_SHOW_ERROR_FOR_REFERENCED_PAGES = True
WAGTAILTRANSFER_SOURCES = {
Expand Down

0 comments on commit 586d68d

Please sign in to comment.