Fix nmamed urls for Django 1.5