Thanks BN, your intuition was spot on. It was a python path problem.
Adding the following line to my dispatch.fcgi file did the trick.
sys.path += ['/path/to/my/project']
It seems that "manage.py runserver" took care of this in my dev
environment, so the issue didn't come up.
On Apr 16, 10:43
On Apr 16, 11:33 am, Aneesh K wrote:
>
> Why is the TemplateSyntaxError raised, and why don't I see this
> problem on my development server?
>
> Thanks!
> Aneesh
Could be a python path problem? Put the directory that has your
application in it on the python path. I
I have two environments for my new Django site: dev and production.
Everything works great on my local dev machine with "manage.py
runserver". When I try to view any page on the production site, I get
a "TemplateSyntaxError Caught an exception while rendering: No module
named tasks". "tasks" is
3 matches
Mail list logo