I realize this is a really, really obvious and easily fixed newbie error. But here it is:
urlpatterns = [
url(r'^sitemap/', TemplateView.as_view(template_name='brochure/sitemap.html'), name="sitemap"),
# More urls
]
Sitemap should end with dollar sign. The problem isn't bad when it immediately happens and you can slap yourself over the face and fix it. The problem is when you have a massive stack of these url patterns and you don't have a problem until you max a change by reordering.
So I think something should exist to make this easier to discover. Maybe a check or a warning. An exception seems rather harsh.