Removing hardcoded URLs in templates

Removing hardcoded URLs using the name argument in the url() functions
in the polls.urls module