Re: 'url' template tag throws and error after upgrading to 1.4

2013-04-04 Thread Bastian
I am trying now in a brand new environment, I have set up a new os, a new virtualenv with all the dependencies upgraded to latest versions, and I installed the project from the repository. It loads with debug = False, quite strange. I need it to work with debug = True and I want to understand wh

Re: 'url' template tag throws and error after upgrading to 1.4

2013-04-04 Thread Bastian
I'm not sure what you mean with 'connect to views'. In this case Django is complaining about the URL tags, the first one that gives an error tries to load django.views.i18n.javascript_catalog. When I manage.py shell I can do from django.views import * without problem. I really have no clue, may

Re: 'url' template tag throws and error after upgrading to 1.4

2013-04-04 Thread Mark Furbee
Can you run manage.py shell and connect to 'views?' On Thu, Apr 4, 2013 at 4:13 PM, Mark Furbee wrote: > It would appear to me that your missing the path to django in your > environment. When you upgraded did you also upgrade to another version of > Python, perhaps? Is the dist-packages/site-pa

Re: 'url' template tag throws and error after upgrading to 1.4

2013-04-04 Thread Mark Furbee
It would appear to me that your missing the path to django in your environment. When you upgraded did you also upgrade to another version of Python, perhaps? Is the dist-packages/site-packages django folder in the same place it was? On Thu, Apr 4, 2013 at 3:58 PM, Bastian wrote: > I have tried

Re: 'url' template tag throws and error after upgrading to 1.4

2013-04-04 Thread Bastian
I have tried with runserver and debug = True and it gives me the error but when I turn off debug then the site loads fine. Then I installed gunicorn and with debug = true and the error appears but with debug = False the site loads fine but without the static content. I don't know if this is a clu

Re: 'url' template tag throws and error after upgrading to 1.4

2013-04-04 Thread Bastian
Thanks for the answer. But it does not really make any difference. I am still trying to figure out what is wrong in there... -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send

Re: 'url' template tag throws and error after upgrading to 1.4

2013-03-28 Thread Pankaj Singh
You may try {% load url from future %} But wrapping first argument to url in quotes was introduced in 1.5. Your original code should work. Please wait for someone else to answer. On Thu, Mar 28, 2013 at 9:27 PM, Bastian wrote: > Hi, > > I am trying to upgrade an existing project from 1.3 to

'url' template tag throws and error after upgrading to 1.4

2013-03-28 Thread Bastian
Hi, I am trying to upgrade an existing project from 1.3 to 1.4.5. I have it almost done but when I try to load the home page, in the base.html I have this line: and it throws an error: No module named views. When I replace the tag with the real url (/jsi18n/) then the error disappears but i