django-cms / djangocms-moderation

Other
13 stars 20 forks source link

[Django 3.2 support] remove fields.E009 error on language field in ModerationRequest #228

Closed joshyu closed 1 year ago

joshyu commented 1 year ago

I am adopting moderation app in Django3.2 recently but I met with an error fields.E009 which is about checking the max_length in Charfield which is smaller than any value of its choices.

I found this fields.E009 error is added from Django 3.0, when we set settings LANGUAGES to use zh-hans or zh-hant, this error will pop up and block the server continue running.

Can you please help to increase max_length of language from 5 to 7?

joshyu commented 1 year ago

PR https://github.com/django-cms/djangocms-moderation/pull/229

joshyu commented 1 year ago

close it as It has been fixed and merged.