Version 1.5.0
Python and Django versions supported:
- Django 1.4 LTS is no longer supported.
- So, as a reminder, supported Django versions for this release are: 1.7, 1.8 LTS, 1.9.
New features:
- It is now possible to specify a custom translation base
model, allowing advanced translation manipulation, such as controlling their loading
withModel.from_db(). - Translated model's
save()method now accepts translated field
names inupdate_fields. Also, if only translated fields, or only untranslated fields
are specified inupdate_fields, the extra query will be skipped. - Support for third parameter on
ModelAdmin's
get_objectmethod was added. - Experimental support for using
language('all')together with
select_related()is being introduced. Please
check the generated queries if you use it. Feedback is appreciated.
Compatibility Warnings:
- Saving of translations now happens in the model's
save()method.
It used to happen in thepost_savesignal. TranslationsMixinnow splits the update intoupdateandupdate_translationmethods.
The former is called once per save, and uses the latter as many times as required to update
all translations.