Fixed url snippet for Django 1.5