Make reverse URLs work with Django 1.5