Fixes templates, reverse_url doesn't work