This is the first major update since the initial release. It includes a number
of bug fixes and adjustments from the feedback received.
Thanks to everyone who has tried the package and provided feedback.
Please read these notes carefully if you are upgrading from a previous version.
* The partial definition block tags have been renamed to `partialdef` and `endpartialdef`
(from `startpartial` and `endpartial`) to better correspond to Django's naming
conventions. (All the built-in tags follow the `<name>` `end<name>` pattern.)
The old tag names are deprecated. A global search/replace for
`startpartial`/`partialdef` and `endpartial`/`endpartialdef` should be
sufficient to upgrade.
Thanks to Justin Muncaster and Christian Tanul.
* The opening `partialdef` tag now accepts an optional `inline` argument, that enables
you to output the partial at the same time as defining it for later use.
{% partialdef my-great-partial inline=True %}
...
{% endpartialdef %}
This smooths initially wrapping an existing part of your page, as well as keeping the
content *inline*, if that suits your case better.
Thanks to George Hickman.
* Adding `"template_partials"` to `INSTALLED_APPS` will now **automatically** configure
the partials template loader.
This means that you can remove the `TEMPLATES` `'OPTIONS'` `'loaders'` (and,
likely, restore `APP_DIRS: True`) changes that you made when first installing
template-partials.
If you need more fine grained control over your template loaders, an
alternative `AppConfig` is available that will not automatically configure
the loader.
Please see the [README](./README.md) for full details.
Thanks to Vinay Sajip.
* The [README](./README.md) documentation has been expanded and improved for this release.
Please review that again to make sure you don't miss anything.
* Thanks also in this release to Andreu Vallbona for miscellaneous small fixes.