Thank you for the tip. It works well.

I have problem with processing flat pages.
When debug is switched to True the error appear in db with following content:

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/site-packages/django/core/handlers/base.py", 
line 86, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python2.6/site-packages/django/views/static.py", line 
56, in serve
    raise Http404, '"%s" does not exist' % fullpath
Http404: "/home/grzegorz/workspace/ghome/src/ghome/../ghome/media/o-mnie" does 
not exist

[30/Nov/2008 12:18:16] "GET /o-mnie/ HTTP/1.1" 200 9733

It seems with debugging enabled flat page is processing successfully because 
page http://127.0.0.1:8080/o-mnie/ is displayed as expected. But when 
debugging is disabled (DEBUG=True) error generated after processing above url 
has the same content and additionally I get "Server Error (500)" in browser:

[30/Nov/2008 12:19:04] "GET /o-mnie/ HTTP/1.1" 500 1120

Could someone help with this issue?

On Sunday 30 of November 2008 10:26:51 DIrk Ye wrote:
> How about use this app:
>
> http://code.google.com/p/django-crashlog/
>
> It will store error info in db.
>
> DIrk
>
> On Sun, Nov 30, 2008 at 4:36 PM, Grzegorz Szymański 
<[EMAIL PROTECTED]>wrote:
> > On Sunday 30 of November 2008 09:31:55 Grzegorz Szymański wrote:
> > > Hi,
> > > I have no too much experience with django and I have problem with my
> >
> > django
> >
> > > application.
> > > When I switch DEBUG variable in settings.py to  True the given url is
> > > handled correctly and page is displayed as I expect. But when is switch
> > > DEBUG to False then I get "Unhandled exception error" I tried to set
> >
> > ADMIN
> >
> > > variable to get e-mail notification about this error but it seems not
> > > working.
> > >
> > > I could provide additional information if necessary.
> > >
> > > Cheers
> >
> > It is django "1.0.1 final" and python 2.6.
> >
> > --
> > Grzegorz Szymański | mailto:[EMAIL PROTECTED] | pgp:0x14A27314
> > jabber ID: [EMAIL PROTECTED]
> >
> > Dzwon tanio do wszystkich!
> > Sprawdz >> http://link.interia.pl/f1fa7
>
> 


-- 
Grzegorz Szymański | mailto:[EMAIL PROTECTED] | pgp:0x14A27314
jabber ID: [EMAIL PROTECTED]

Dzwon tanio do wszystkich!
Sprawdz >> http://link.interia.pl/f1fa7


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to