On Sat, Jun 13, 2009 at 1:30 PM, josebrwn <joseb...@gmail.com> wrote:
> > If Debug = True, you can have a flatpage with URL = "/" that is > handled by FlatpageFallbackMiddleware: > > MIDDLEWARE_CLASSES = ( > ... > 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', > ) > > If Debug = False, the flatpage will 404. Is there a way to have a > flatpage as your site's index/home page, and have debugging turned > off? > I do this all the time. It works the same not-depending on the DEBUG setting. It should work. Do you have 500.html and 404.html templates in your template directory? That is the only thing that I can think that would behave differently here. How is it not working? A little more specifics will help us out greatly, Michael --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---