Re: code runs in django shell but not apache

2008-05-19 Thread Ian Lawrence
Hi, > You did not say what the view code does do. Does it raise an exception > whose trace you can share? Thx for answering No, this was the most confusing thing and what made me think it was an apache permission problem. I fired up the dev server and the code ran so i then hunted around the web

Re: code runs in django shell but not apache

2008-05-19 Thread Rajesh Dhawan
Hi Ian, > Hi, > I have been bashing my head trying to work this out. This code creates > the new theme fine: > > [EMAIL PROTECTED]:~/Web/django_projects/webtheme$ export > DJANGO_SETTINGS_MODULE DJANGO_SETTINGS_MODULE=webtheme.settings > [EMAIL PROTECTED]:~/Web/django_projects/webtheme$ django-ad

code runs in django shell but not apache

2008-05-19 Thread Ian Lawrence
Hi, I have been bashing my head trying to work this out. This code creates the new theme fine: [EMAIL PROTECTED]:~/Web/django_projects/webtheme$ export DJANGO_SETTINGS_MODULE DJANGO_SETTINGS_MODULE=webtheme.settings [EMAIL PROTECTED]:~/Web/django_projects/webtheme$ django-admin.py shell Python 2.5