python-django-jinja

Edit Package python-django-jinja
No description set
Refresh
Refresh
Source Files
Filename Size Changed
2.10.0.tar.gz 0000043749 42.7 KB
python-django-jinja.changes 0000003306 3.23 KB
python-django-jinja.spec 0000002036 1.99 KB
Revision 5 (latest revision is 8)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 975943 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 5)
- Make tests run again.
- version update to 2.10.0
  Version 2.10.0
  - Fix usage of `unittest` to be ready for Python 3.11 (#288).
  - Fix `default_app_config` deprecation warning for Django 3.2 (#289).
  - Replace Travis with GitHub Actions, dropping `ppc64le` arch tests (#290).
    * Added Python 3.10 to tests (Django supports it if >=3.2.9).
  - Run pyupgrade, remove compatibility code (#291).
  - Add support for Django 4.0, with more old-code cleanup (#292).
    * Remove use of `django.conf.urls.url` in test app (gone in Django 4.0).
    * Set `DEFAULT_AUTO_FIELD` to avoid warnings in test app.
    * Remove `django_jinja.contrib._pipeline` package, which was deprecated in 2015.
    * Drop formal Django 3.0 and 3.1 support.
      ** Projects using these versions should still function until support for 2.2 is dropped.
  - Django 2.2 and Python 3.6 will likely be dropped in the next non-patch release.
  Version 2.9.1
  - Complete config example in the docs now reflects actual project defaults (#286).
  - `get_template` no longer calls `template_name.endswith` twice under the default setup.
  - Rewrite usage and template matching config sections in the docs, to fully explain behavior.
  Version 2.9.0
  - Jinja2 policies now settable via `TEMPLATES[n]['OPTIONS']['policies']` (#285).
  - `makemessages` now respects the `ext.i18n.trimmed` policy,
     will automatically trim jinja `{% trans %}` blocks when generating `.po` files.
  Version 2.8.0
  - Upgrade to jinja2 3.0, dropping support for 2.11 and below (#279).
  - Dropped Python 3.5 support.
  Version 2.7.1
  - Fixed `makemessages` command, which in 2.7.0 could not detect `{% trans %}` tags in Django templates (#272).
  - Fixed `{% cache %}` tag to allow a timeout of `None` (to cache forever), which Django's tag added in 2.0 (#274).
  - Fixed README not displaying in project description at PyPI (#276).
  - Added Django 3.2 support.
  Version 2.7.0
  - Fixed loading template names with backslashes on Windows (#249).
  - Added Django's `json_script` filter for Django 2.1 and higher.
  - Fixed docs site stylesheet.
  - Added Django 3.1 support.
  - Removed Django 1.11 support.
  - Added Python 3.9 (rc1) to test suite.
  - Clarified "not recommended" usage of context processors with django-jinja in the docs.
Comments 0
openSUSE Build Service is sponsored by