Template fixes: correct location for closing </span> tag. Pass parameter to querystring_for_date. Properly escape 'Week' in template, otherwise it will display as 'WUTCUTCk'. Remove invalid closing '/' on paragraph tag.