Update django template url syntax, fix whitespace

Last merge broke the build, this should fix it.