Skip to content

Commit

Permalink
Fix bug related to Wagtail Transfer and content types (#1709)
Browse files Browse the repository at this point in the history
  • Loading branch information
istride authored Aug 27, 2024
1 parent 8898d7e commit c14d968
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion iogt/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,10 +435,15 @@
TRANSLATIONS_PROJECT_BASE_DIR = BASE_DIR

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

0 comments on commit c14d968

Please sign in to comment.