Re: error with new version of django.

2013-04-01 Thread Avnesh Shakya
Ok i got it new version problem I ran commond this.. find . -type f -print0 | xargs -0 sed -i 's/ url \([^" >][^ >]*\)/ url "\1"/g' It'll go through all of your template files and replace this: {% url index.html %} with this {% url "index.html" %} Thanks to all On Mon, Apr 1, 201

error with new version of django.

2013-04-01 Thread Avnesh Shakya
hi, I was using django 1.4 version in window 7. now i am using django 1.5 version using virtualenv in ubuntu. now i am running my old project it's generating error. error is - NoReverseMatch at / 'url' requires a non-empty first argument. The syntax changed in Django 1.5, see the docs.