We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3379a0 commit ab5fb5cCopy full SHA for ab5fb5c
django_coverage_plugin/plugin.py
@@ -134,6 +134,8 @@ def read_template_source(filename):
134
settings.configure()
135
136
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
139
if django.VERSION >= (3, 1):
140
charset = 'utf-8'
141
else:
0 commit comments