diff options
author | James Turnbull <james@incuna.com> | 2012-03-09 09:28:14 +0000 |
---|---|---|
committer | James Turnbull <james@incuna.com> | 2012-03-09 09:28:14 +0000 |
commit | 098c4dd376502d1c7bbdf91d96004bfb029c3f5b (patch) | |
tree | 0090b4f13d5a6e1bab487e4832398c19c8cc30ee /README | |
parent | 6869f502fa54ce3a2b677464d64bc1d7a5c73b94 (diff) | |
download | django-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 'README')
0 files changed, 0 insertions, 0 deletions