Re: mod_wsgi // Stack trace does not show in log files or gets sent by email

2008-12-13 Thread Stefan Wallner
Sorry, meant to post to django-users. On Dec 14, 5:47 am, Stefan Wallner wrote: > Hi, > I am running Django 1.0 on Windows Server 2003, Python 2.5 with > mod_wsgi. I am having trouble capturing any exceptions in my code > either through Apache's error log or by having an email sent to me. > > A

mod_wsgi // Stack trace does not show in log files or gets sent by email

2008-12-13 Thread Stefan Wallner
Hi, I am running Django 1.0 on Windows Server 2003, Python 2.5 with mod_wsgi. I am having trouble capturing any exceptions in my code either through Apache's error log or by having an email sent to me. As a simple test I added a = [1,2,3] b = a[4] to the top of one of my views, which does generat

Re: How do you handle cascading deletes in your production apps?

2008-12-13 Thread Luke Plant
On Friday 12 December 2008 01:06:18 Simon Litchfield wrote: > +1. Definitely need some kind of cascade=False option somewhere. > I'd argue it should be the default. -1 on it being default. Just because a foreign key may be nullable does not mean "you may safely null this data out". Imagine, f

Re: Problem in loading the images.

2008-12-13 Thread alex.gay...@gmail.com
This is a question that should be asked on the django users mailing list, this mailing is for the development of Django itself. Alex On Dec 13, 1:32 pm, Sura wrote: > Hi djangonauts, >         I am new to django and i developed the site using django. > My site works well in my system local serv

Problem in loading the images.

2008-12-13 Thread Sura
Hi djangonauts, I am new to django and i developed the site using django. My site works well in my system local server .. I hosted my site in dreamhost server and the url is www.csmit.org But now in the site the images fail to load as well as the media.. But i can access from the path www.

Re: How do you handle cascading deletes in your production apps?

2008-12-13 Thread Gábor Farkas
On Fri, Dec 12, 2008 at 2:48 AM, James Bennett wrote: > > On Thu, Dec 11, 2008 at 7:06 PM, Simon Litchfield wrote: >> +1. Definitely need some kind of cascade=False option somewhere. I'd >> argue it should be the default. I have some production horror stories >> which I'm sure I don't need to sh