Fix url template tag for Django 1.5