Update compare.html {% url %} for Django 1.5

Updates the {% url %} format to be compatible with Django 1.5.