Convert import to new URL pattern.
csrf token not passed to template.