On Feb 9, 2008 7:41 AM, samira <[EMAIL PROTECTED]> wrote: > > Hi all > I am trying to customize 404 error page by Django. As I read from <a > href="http://www.djangoproject.com/documentation/tutorial03/#write- > a-404-page-not-found-view" target="_blank">http:// > > www.djangoproject.com/documentation/tutorial03/#write-a-404-page-not-found-view > </a> > we should only define 404.html template in application template path > and set debug=False in settings. That is correct in firefox, but it is > not work in IE at all. Can any body help me? >
I am assuming that "not work" means that you see Internet Explorer's standard 404 page instead of your customized page. Is your customized 404 page less than 512 bytes? If so, IE, when configured to "Show friendly HTTP error messages" (which I think is the default), will substitute its own error page. If this is the problem you can just make your 404 page >= 512 bytes and you should start seeing it even in IE. Karen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---