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 outputs from ./manage.py runserver

[04/May/2009 23:21:24] "GET /cases/ HTTP/1.1" 500 10947
[04/May/2009 23:21:25] "GET /cases/css/css.css HTTP/1.1" 500 10947
[04/May/2009 23:21:26] "GET /cases/images/bj.gif HTTP/1.1" 500 10947
[04/May/2009 23:21:26] "GET /cases/images/logo.gif HTTP/1.1" 500 10947
[04/May/2009 23:21:27] "GET /cases/images/name.gif HTTP/1.1" 500 10947
[04/May/2009 23:21:27] "GET /cases/images/icon.gif HTTP/1.1" 500 10947

/cases/ is one of the flatpage url in the database.

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.


-- 
Ronghui Yu <mailto:stone...@163.com>

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to