Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump django-jinja from 2.10.2 to 2.11.0 in /{{cookiecutter.repo_name}} #658

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 25, 2023

Bumps django-jinja from 2.10.2 to 2.11.0.

Release notes

Sourced from django-jinja's releases.

Version 2.11.0

  • Drop Django 2.2 support, now require >=3.2.
  • Drop Python 3.6 and 3.7 support, now require >=3.8.
  • Add Django 4.1 and 4.2 support.
  • Add Python 3.11 support.
  • Provide a better default template engine NAME than 'backend' (#303):

Previously, when configuring TEMPLATES in Django's settings, NAME had to be set to avoid the template engine's name becoming "backend":

TEMPLATES = [
    {
        "NAME": "jinja2",
        "BACKEND": "django_jinja.backend.Jinja2",

If your code matches that pattern, it can now be simplified to:

TEMPLATES = [
    {
        "BACKEND": "django_jinja.jinja2.Jinja2",

There are no plans to remove support for the old backend import path, for consideration of existing projects. Also, be careful if you've set NAME to "jinja" (not "jinja2")!

Changelog

Sourced from django-jinja's changelog.

Version 2.11.0

Released September 3rd, 2023

  • Drop Django 2.2 support, now require >=3.2.
  • Drop Python 3.6 and 3.7 support, now require >=3.8.
  • Add Django 4.1 and 4.2 support.
  • Add Python 3.11 support.
  • Provide a better default template engine NAME than 'backend' (#303):

Previously, when configuring TEMPLATES in Django's settings, NAME had to be set to avoid the template engine's name becoming "backend":

[source,python]

TEMPLATES = [ { "NAME": "jinja2", "BACKEND": "django_jinja.backend.Jinja2",

If your code matches that pattern, it can now be simplified to:

[source,python]

TEMPLATES = [ { "BACKEND": "django_jinja.jinja2.Jinja2",

There are no plans to remove support for the old backend import path, for consideration of existing projects. Also, be careful if you've set NAME to "jinja" (not "jinja2")!

Commits
  • 59fec9e v2.11.0
  • 3c227d3 Provide a better default template engine NAME than 'backend'
  • b18e701 update support versions at Aug 2023
  • 8a75174 Merge pull request #301 from m000/patch-1
  • 3b9d62f add recommendation for setting NAME setting in the docs
  • ddfc75c fixes typo in csrf extension
  • 6b0db8e Django 4.1 (#297)
  • 2a26a25 fixed a space!
  • a654692 CI tests to run Mondays at 03:33 UTC to proactively look for breakages
  • ecadcd3 README: replace travis badge with github actions badge
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [django-jinja](https://github.com/niwinz/django-jinja) from 2.10.2 to 2.11.0.
- [Release notes](https://github.com/niwinz/django-jinja/releases)
- [Changelog](https://github.com/niwinz/django-jinja/blob/master/CHANGES.adoc)
- [Commits](niwinz/django-jinja@2.10.2...2.11.0)

---
updated-dependencies:
- dependency-name: django-jinja
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 25, 2023
@github-actions github-actions bot merged commit 2c6f8d7 into develop Sep 25, 2023
3 checks passed
@github-actions github-actions bot deleted the dependabot/pip/{{cookiecutter.repo_name}}/develop/django-jinja-2.11.0 branch September 25, 2023 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants