@@ -10,8 +10,10 @@ A `coverage.py`_ plugin to measure the coverage of Django templates.
10
10
| |license| |versions| |djversions| |status|
11
11
| |kit| |downloads|
12
12
13
- Supported Python versions are 2.7, 3.4, and 3.5. Supported Django versions are
14
- 1.4 through 1.9.
13
+ Supported Python versions are 2.7, 3.4, 3.5 and 3.6.
14
+ Supported Django versions are 1.4 through 1.10.
15
+ Supported coverage.py versions are 4.0 and higher.
16
+
15
17
16
18
The plugin is pip installable::
17
19
@@ -23,7 +25,7 @@ To run it, add this setting to your .coveragerc file::
23
25
plugins =
24
26
django_coverage_plugin
25
27
26
- Then run your tests under coverage.py. It requires coverage.py 4.0 or later.
28
+ Then run your tests under coverage.py.
27
29
28
30
You will see your templates listed in your coverage report along with your
29
31
Python modules.
@@ -43,6 +45,8 @@ template files are included in the report.
43
45
Caveats
44
46
~~~~~~~
45
47
48
+ Support for Django versions 1.4 through 1.7 should be considered deprecated.
49
+
46
50
Files included by the ``{% ssi %} `` tag are not included in the coverage
47
51
measurements.
48
52
@@ -54,6 +58,22 @@ Changes
54
58
~~~~~~~
55
59
56
60
61
+ v1.4 --- 2017-01-15
62
+ ---------------------
63
+
64
+ Django 1.10.5 is now supported.
65
+
66
+ Checking settings configuration is deferred so that settings.py is included
67
+ in coverage reporting. Fixes `issue 28 `_.
68
+
69
+ Only the django.template.backends.django.DjangoTemplates template engine is
70
+ supported, and it must be configured with ['OPTIONS']['debug'] = True. Fixes
71
+ `issue 27 `_.
72
+
73
+ .. _issue 28 : https://github.com/nedbat/django_coverage_plugin/issues/28
74
+ .. _issue 27 : https://github.com/nedbat/django_coverage_plugin/issues/27
75
+
76
+
57
77
v1.3.1 --- 2016-06-02
58
78
---------------------
59
79
0 commit comments