#9678: Flatpage with URL of "/" ends up in a redirect loop. ------------------------------------+--------------------------------------- Reporter: watusee | Owner: nobody Status: reopened | Milestone: Component: Uncategorized | Version: 1.1-beta-1 Resolution: | Keywords: flatpage Stage: Unreviewed | Has_patch: 0 Needs_docs: 1 | Needs_tests: 1 Needs_better_patch: 0 | ------------------------------------+--------------------------------------- Comment (by Daniel Harris):
Replying to [comment:10 flaccid]: > Replying to [comment:9 flaccid]: > apologies forgot to escape the code, of course that reads > {{{ > (r'', include('django.contrib.flatpages.urls')), > }}} I believe Malcom's comments above explain (and fix) the problem. For flatpages you shouldn't be including anything in your urls.py. The flatpages app catches exceptions for pages that do not exist and then look them up in the DB before actually throwing a page not found. -- Ticket URL: <http://code.djangoproject.com/ticket/9678#comment:11> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---