template edits: compatible URL's for django 1.5