cyface/django-socialprofile — pull request #6 by meldra (2013-04-02 09:44:35+00:00)
Title: Fix url template tags (and readme) for django 1.5

In Django 1.5 urls like {% url myurl %} must now be {% url 'myurl' %} or else django will spit out NoReverseMatch errors such as:

NoReverseMatch at /socialprofile/edit/
'url' requires a non-empty first argument. The syntax changed in Django 1.5, see the docs.

This patch converts the urls in the templates and adds {% load url from future %} for backwards compatibility with Django 1.3/1.4

Tested on django 1.4 and django 1.5