aboutsummaryrefslogtreecommitdiffstats
path: root/wkhtmltopdf/__init__.py
diff options
context:
space:
mode:
authorJames Turnbull <james@incuna.com>2012-03-09 09:28:14 +0000
committerJames Turnbull <james@incuna.com>2012-03-09 09:28:14 +0000
commit098c4dd376502d1c7bbdf91d96004bfb029c3f5b (patch)
tree0090b4f13d5a6e1bab487e4832398c19c8cc30ee /wkhtmltopdf/__init__.py
parent6869f502fa54ce3a2b677464d64bc1d7a5c73b94 (diff)
downloaddjango-wkhtmltopdf-098c4dd376502d1c7bbdf91d96004bfb029c3f5b.tar.gz
django-wkhtmltopdf-098c4dd376502d1c7bbdf91d96004bfb029c3f5b.tar.bz2
django-wkhtmltopdf-098c4dd376502d1c7bbdf91d96004bfb029c3f5b.zip
Be clear with template_to_temp_file's arguments
It's not obvious what template_to_temp_file is doing with its undefined arguments. The Zen of Python states: Explicit is better than implicit. Readability counts. An alternative solution would be to rename the function to loader_render_to_tempfile or similar, but this fix is more backwards-compatible.
Diffstat (limited to 'wkhtmltopdf/__init__.py')
0 files changed, 0 insertions, 0 deletions