Skip to content

Commit

Permalink
Configure Wagtail Transfer to look up auth permissions by codename (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
istride authored Aug 29, 2024
1 parent c14d968 commit a6a04cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iogt/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@
TRANSLATIONS_PROJECT_BASE_DIR = BASE_DIR

WAGTAILTRANSFER_LOOKUP_FIELDS = {
'auth.permission': ['codename'],
'contenttypes.contenttype': ['app_label', 'model'],
'iogt_users.user': ['username'],
'taggit.tag': ['slug'],
Expand Down

0 comments on commit a6a04cd

Please sign in to comment.