Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow use of <field>_i18n in ModelForm #33

Closed
jieter opened this issue Jan 24, 2018 · 1 comment
Closed

Allow use of <field>_i18n in ModelForm #33

jieter opened this issue Jan 24, 2018 · 1 comment

Comments

@jieter
Copy link
Member

jieter commented Jan 24, 2018

Currently, if I add description_i18n instead of description to the fieldlist in ModelForm.Meta.fields, I get this error:

django.core.exceptions.FieldError: 'description_i18n' cannot be specified for Project model form as it is a non-editable field

It should be possible to add the translated field to a ModelForm.

@jieter
Copy link
Member Author

jieter commented Jan 24, 2018

fixed in 92bcbc0

@jieter jieter closed this as completed Jan 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant