this URL should be defined into a variable the template, using {% url url_name %}.  That section where you defined a bunch of urls--that was the purpose! :)