Skip to content

Commit ab5fb5c

Browse files
committed
Add a comment about removed setting in 3.1
1 parent a3379a0 commit ab5fb5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

django_coverage_plugin/plugin.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ def read_template_source(filename):
134134
settings.configure()
135135

136136
with open(filename, "rb") as f:
137+
# The FILE_CHARSET setting will be removed in 3.1:
138+
# https://docs.djangoproject.com/en/3.0/ref/settings/#file-charset
137139
if django.VERSION >= (3, 1):
138140
charset = 'utf-8'
139141
else:

0 commit comments

Comments
 (0)