Skip to content

Commit 1e65bc6

Browse files
committed
Config option to exclude block tags by regex
1 parent 35d262f commit 1e65bc6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,8 @@ extensions if you like::
9191
[django_coverage_plugin]
9292
template_extensions = html, txt, tex, email
9393

94-
To exclude specific individual lines in a template, use the usual
95-
``# pragma: no cover`` notation inline. Template tags can also be excluded using regexes to
96-
match the block content; for example, to exclude a custom template tag
97-
``{% my_tag ... %}``, use::
94+
Block tags can be excluded using regexes to match the block content;
95+
for example, to exclude a custom template tag ``{% my_tag ... %}``, use::
9896

9997
[run]
10098
plugins = django_coverage_plugin

0 commit comments

Comments
 (0)