start to break down enormous function
move another if tail from distance
remove another layer of nesting, coincidentally increasing PEP8-compliance
shortcut out another nested control structure
Merge branch 'master' into 429-config-task-presenters
move else case where we can find it
move lookup table out of function to make fn shorter
break up long line
start to generalise form arguments passed through to renderer
remove more duplication
move arg dict where it can be reused
reuse template_args
reuse template_args
start to break out data url lookup
break out data url lookup
move all forms into dict
remove redundand del()s
enclose work in functions
remove debugging lines
break work functions out of import handler