Skip to content

Releases: armstrong/armstrong.core.arm_layout

v1.4.0

08 Sep 05:37
Compare
Choose a tag to compare

Support for Django 1.7.
Using Setuptools and pkg_resources for proper packaging and armstrong.dev>=2.0 for easier testing.

v1.3.0

24 Feb 22:19
Compare
Choose a tag to compare

Supports Django 1.3-1.6 for Python 2.6 and 2.7. (Most of this support existed before but now it is official.) Copied from the new changes.rst:

  • DEPRECATION: BasicRenderModelBackend is now BasicLayoutBackend
    The new name better reflects the Armstrong component and its purpose.
    The "render_model" name is more of a template tag implementation detail.
  • DEPRECATION: ARMSTRONG_RENDER_MODEL_BACKEND is now
    ARMSTRONG_LAYOUT_BACKEND. The new setting better indicates which
    Armstrong component it belongs to.
  • New ModelProvidedLayoutBackend that allows models to specify their own
    template lookup by implementing get_layout_template_name().
  • Provide model mixins for use with the new backend that handle common
    scenarios such as template lookup using the model's slug, full_slug or type.
  • render_model template tag now accepts with and only arguments,
    which work exactly as they do in Django's own include template tag.
  • Refactored three template tags using Django's simple_tag decorator.
  • Vast test refactor.