Skip to content

Commit

Permalink
adapt new django modeltranslation behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Feb 19, 2025
1 parent 6be3f71 commit 89c1133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geotrek/common/utils/translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ def get_translated_fields(model):
except NotRegistered:
translated_fields = []
else:
translated_fields = mto.fields.keys()
return list(mto.fields)
return translated_fields

0 comments on commit 89c1133

Please sign in to comment.