Skip to content

Version 1.5.0

Compare
Choose a tag to compare
@spectras spectras released this 02 Feb 16:39
· 3 commits to releases/1.5.x since this release
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
    with Model.from_db().
  • Translated model's save() method now accepts translated field
    names in update_fields. Also, if only translated fields, or only untranslated fields
    are specified in update_fields, the extra query will be skipped.
  • Support for third parameter on ModelAdmin's
    get_object method 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 the post_save signal.
  • TranslationsMixin now splits the update into update and update_translation methods.
    The former is called once per save, and uses the latter as many times as required to update
    all translations.