Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielvdp committed Jul 20, 2021
1 parent df2cacb commit cdfb600
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
django-modeltrans change log
============================

## 0.7.1 (2021-06-30)
- Add customizable field labels to `TranslationModelForm`

## 0.7.0 (2021-06-30)
- Add `TranslationModelForm`

Expand Down
7 changes: 6 additions & 1 deletion docs/pages/translation-model-form.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,9 @@ The label of the field is adjusted to include the relevant language
and to designate the field as a translation or default fallback field, as follows:

- translation fields: "field name (NL, translation language)"
- fallback field: "field name (EN, default language)"
- fallback field: "field name (EN, fallback language)"

The labels "translation language" and "fallback language" are customizable using the `Meta` options:

- `fallback_label` (defaults to "fallback language")
- `translation_label` (defaults to "translation language")

0 comments on commit cdfb600

Please sign in to comment.