You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error that probably occurs occasionally (like here) is that fields in a TranslationOptions is given a single string, not a list/tuple/... of strings.
This is a bit of a stupid mistake that we can probably prevent by just checking if the item is a string, and if that is the case wrap it in a tuple in the constructor, thus preventing the error from occurring?
Thoughts?
The text was updated successfully, but these errors were encountered:
KommuSoft
pushed a commit
to hapytex/django-modeltranslation
that referenced
this issue
Nov 13, 2024
An error that probably occurs occasionally (like here) is that
fields
in aTranslationOptions
is given a single string, not a list/tuple/... of strings.This is a bit of a stupid mistake that we can probably prevent by just checking if the item is a string, and if that is the case wrap it in a tuple in the constructor, thus preventing the error from occurring?
Thoughts?
The text was updated successfully, but these errors were encountered: