#20500: Flatpages catchall URLconf example that works with APPEND_SLASH -------------------------------------+------------------------------------- Reporter: josh.23.french@… | Owner: ByteMonk Type: | Status: assigned Cleanup/optimization | Version: 1.4 Component: Documentation | Resolution: Severity: Normal | Triage Stage: Keywords: flatpages | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by josh.23.french): The whole try/except around `found_url = urlresolvers.resolve(url)` is excessive. Apparently, `Resolver404` is a subclass of `Http404`. (I couldn't edit it-I assume because I didn't have an account, so I got one.) -- Ticket URL: <https://code.djangoproject.com/ticket/20500#comment:6> Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/082.87e5f2575727052f1ae7928253e39bca%40djangoproject.com?hl=en. For more options, visit https://groups.google.com/groups/opt_out.