Re: Flatpages only works when settings.DEBUG = True

2009-06-24 Thread Fred Chevitarese
What you´ve done? I´m getting this problem and, try all the following steps like you, but still not working ! Can you help me ?? On 5 maio, 04:07, Ronghui Yu wrote: > It works now. That's because a typo error happens in my 404.html page. And > it introduces 500.Thanks all.

Re: Flatpages only works when settings.DEBUG = True

2009-05-05 Thread Ronghui Yu
It works now. That's because a typo error happens in my 404.html page. And it introduces 500.Thanks all. On Tue, May 5, 2009 at 9:17 AM, Ronghui Yu wrote: > Yes, 404.html and 500.html are there. But they extend from base.html, which > depends on some context variables. I

Re: Flatpages only works when settings.DEBUG = True

2009-05-04 Thread Ronghui Yu
Yes, 404.html and 500.html are there. But they extend from base.html, which depends on some context variables. I will change them to a simple one and see if the problem still there.Thanks On Tue, May 5, 2009 at 12:06 AM, Brian Neal wrote: > > On May 4, 10:28 am, Ronghui Yu

Re: Flatpages only works when settings.DEBUG = True

2009-05-04 Thread Ronghui Yu
That's something I didn't try. It is a good idea to figure out what the problem is.Thanks On Tue, May 5, 2009 at 12:01 AM, Masklinn wrote: > > On 4 May 2009, at 17:28 , Ronghui Yu wrote: > > I don't quite understand why this happens, and how to solve it. > > Has anybody

Re: Flatpages only works when settings.DEBUG = True

2009-05-04 Thread Brian Neal
On May 4, 10:28 am, Ronghui Yu wrote: > Hi,All, > > I am going to use Flatpages app for those simple pages. And everything > works fine when settings.DEBUG is True, but when it is turned to False, > a URL not configured in urlpatterns will trigger 500, not 404. Do you have a

Re: Flatpages only works when settings.DEBUG = True

2009-05-04 Thread Masklinn
On 4 May 2009, at 17:28 , Ronghui Yu wrote: > I don't quite understand why this happens, and how to solve it. > Has anybody ever met this problem? And any suggestions? > > Thanks in advance. > Setup a local smtp sink and activate the "mail on 500" thing, to see why it's erroring out?

Flatpages only works when settings.DEBUG = True

2009-05-04 Thread Ronghui Yu
Hi,All, I am going to use Flatpages app for those simple pages. And everything works fine when settings.DEBUG is True, but when it is turned to False, a URL not configured in urlpatterns will trigger 500, not 404. This happens on both Apache2 and the Django native testing server. Here is some