@@ -4,10 +4,9 @@ Django Template Coverage.py Plugin
44
55A `coverage.py `_ plugin to measure test coverage of Django templates.
66
7- .. start-badges
8-
97| |status| |kit| |license|
108| |versions| |djversions|
9+ | |sponsor| |bluesky-nedbat| |mastodon-nedbat|
1110
1211.. |status | image :: https://img.shields.io/pypi/status/django_coverage_plugin.svg
1312 :target: https://pypi.python.org/pypi/django_coverage_plugin
@@ -21,23 +20,31 @@ A `coverage.py`_ plugin to measure test coverage of Django templates.
2120.. |versions | image :: https://img.shields.io/pypi/pyversions/django_coverage_plugin.svg
2221 :target: https://pypi.python.org/pypi/django_coverage_plugin
2322 :alt: Supported Python Versions
24- .. |djversions | image :: https://img.shields.io/badge/Django-1.8%20%7C%201.11%20%7C%202.2%20%7C%203.2%20%7C%204.1-44b78b.svg
23+ .. the Django badge says: `3.2 | 4.2 | 5.2`
24+ .. |djversions | image :: https://img.shields.io/badge/Django-3.2%20%7C%204.2%20%7C%205.2-44b78b.svg
2525 :target: https://pypi.python.org/pypi/django_coverage_plugin
2626 :alt: Supported Django Versions
27+ .. |sponsor | image :: https://img.shields.io/badge/%E2%9D%A4-Sponsor%20me-brightgreen?style=flat&logo=GitHub
28+ :target: https://github.com/sponsors/nedbat
29+ :alt: Sponsor me on GitHub
30+ .. |bluesky-nedbat | image :: https://img.shields.io/badge/dynamic/json?style=flat&color=96a3b0&labelColor=3686f7&logo=icloud&logoColor=white&label=@nedbat&url=https%3A%2F%2Fpublic.api.bsky.app%2Fxrpc%2Fapp.bsky.actor.getProfile%3Factor=nedbat.com&query=followersCount
31+ :target: https://bsky.app/profile/nedbat.com
32+ :alt: nedbat on Bluesky
33+ .. |mastodon-nedbat | image :: https://img.shields.io/badge/dynamic/json?style=flat&labelColor=450657&logo=mastodon&logoColor=ffffff&label=@nedbat&query=followers_count&url=https%3A%2F%2Fhachyderm.io%2Fapi%2Fv1%2Faccounts%2Flookup%3Facct=nedbat
34+ :target: https://hachyderm.io/@nedbat
35+ :alt: nedbat on Mastodon
2736
28- ------------------
2937
30- .. end-badges
3138
3239Supported on:
3340
34- - Python: 3.8 through 3.12 .
41+ - Python: 3.10 through 3.14 .
3542
36- - Django: 2.x, 3.x and 4.x .
43+ - Django: 3.2 through 5.2 .
3744
3845- Coverage.py: 6.x or higher.
3946
40- The plugin is pip installable::
47+ The plugin is pip- installable::
4148
4249 $ python3 -m pip install django_coverage_plugin
4350
@@ -49,8 +56,7 @@ To run it, add this setting to your ``.coveragerc`` file::
4956Then run your tests under `coverage.py `_.
5057
5158You will see your templates listed in your coverage report along with
52- your Python modules. Please use `coverage.py `_ v4.4 or greater to allow
53- the plugin to identify untested templates.
59+ your Python modules.
5460
5561If you get a :code: `django.core.exceptions.ImproperlyConfigured ` error,
5662you need to set the :code: `DJANGO_SETTINGS_MODULE ` environment variable.
@@ -137,6 +143,18 @@ History
137143
138144.. scriv-insert-here
139145
146+ v3.2.0 — 2025-10-05
147+ -------------------
148+
149+ Drop Python 3.9 and Django 2.2. Add Python 3.14.
150+
151+
152+ v3.1.1 — 2025-06-15
153+ -------------------
154+
155+ Support changes: dropped Python 3.8, added Python 3.13. Added Django 5.2.
156+
157+
140158v3.1.0 — 2023-07-10
141159-------------------
142160
@@ -173,7 +191,7 @@ ignore_errors=True`` (`issue 78`_).
173191When using ``source=. ``, an existing coverage HTML report directory would be
174192found and believed to be unmeasured HTML template files. This is now fixed.
175193
176- .. _issue 78 : https://github.com/nedbat /django_coverage_plugin/issues/78
194+ .. _issue 78 : https://github.com/coveragepy /django_coverage_plugin/issues/78
177195
178196
179197v2.0.1 — 2021-10-06
@@ -196,9 +214,9 @@ case-sensitively, causing templates to be missed (`issue 46`_).
196214Fix an issue (`issue 63 `_) where tag libraries can't be found if imported
197215during test collection. Thanks to Daniel Izquierdo for the fix.
198216
199- .. _issue 46 : https://github.com/nedbat /django_coverage_plugin/issues/46
200- .. _issue 60 : https://github.com/nedbat /django_coverage_plugin/issues/60
201- .. _issue 63 : https://github.com/nedbat /django_coverage_plugin/issues/63
217+ .. _issue 46 : https://github.com/coveragepy /django_coverage_plugin/issues/46
218+ .. _issue 60 : https://github.com/coveragepy /django_coverage_plugin/issues/60
219+ .. _issue 63 : https://github.com/coveragepy /django_coverage_plugin/issues/63
202220
203221v1.8.0 — 2020-01-23
204222-------------------
@@ -248,7 +266,7 @@ v1.4.2 — 2017-02-06
248266Fixes another instance of `issue 32 `_, which was the result of an
249267initialization order problem.
250268
251- .. _issue 32 : https://github.com/nedbat /django_coverage_plugin/issues/32
269+ .. _issue 32 : https://github.com/coveragepy /django_coverage_plugin/issues/32
252270
253271
254272v1.4.1 — 2017-01-25
@@ -270,8 +288,8 @@ Only the ``django.template.backends.django.DjangoTemplates`` template
270288engine is supported, and it must be configured with
271289``['OPTIONS']['debug'] = True ``. Fixes `issue 27 `_.
272290
273- .. _issue 28 : https://github.com/nedbat /django_coverage_plugin/issues/28
274- .. _issue 27 : https://github.com/nedbat /django_coverage_plugin/issues/27
291+ .. _issue 28 : https://github.com/coveragepy /django_coverage_plugin/issues/28
292+ .. _issue 27 : https://github.com/coveragepy /django_coverage_plugin/issues/27
275293
276294
277295
@@ -281,7 +299,7 @@ v1.3.1 — 2016-06-02
281299Settings are read slightly differently, so as to not interfere with
282300programs that don't need settings. Fixes `issue 18 `_.
283301
284- .. _issue 18 : https://github.com/nedbat /django_coverage_plugin/issues/18
302+ .. _issue 18 : https://github.com/coveragepy /django_coverage_plugin/issues/18
285303
286304
287305
@@ -317,7 +335,7 @@ plugin, and fixes `issue 17`_.
317335Potential Django 1.9 support is included, but the patch to Django hasn't
318336been applied yet.
319337
320- .. _issue 17 : https://github.com/nedbat /django_coverage_plugin/issues/17
338+ .. _issue 17 : https://github.com/coveragepy /django_coverage_plugin/issues/17
321339
322340
323341
0 commit comments