Skip to content

Version 1.7.0

Choose a tag to compare

@spectras spectras released this 08 Feb 18:21
1.7.0

New features:

  • Support for defer() and only was added. Note that deferring
    all translated fields will not result in translation being skipped,
    because 1) it needs to be inspected for language resolution and 2) loaded
    translation language must be fixed at query time.
    Support is limited to immediate fields at the moment, ie it is not possible
    to defer fields of additionals models loaded through select_related().

Compatibility warnings:

  • Internal admin method TranslatableAdmin.get_available_languages()
    is deprecated and will be removed. Use TranslatableModel.get_available_languages() instead.
  • Internal admin method TranslatableAdmin.get_language_tabs() signature changed.

Fixes:

  • Do not consider annotations when looking up translatable query fields.
    Fixes errors that could arise when using some annotation names.
    #303.
  • Accept special value __all__ for form field list, as a synonym for None,
    meaning include all known fields. — #313.
  • Fix translation deletion links that were improperly generated when using inline
    change forms. — #317.