The first parameter of the url function in Django 1.5.1 needs to be a string.