Alternatively, we could just have CommonMiddleware throw a deliberate
server error if a POST is made to a IRL that doesn't have a trailing
slash. That should make things abundantly clear :) POSTing to a URL
that CommonMiddleware wants to redirect is most definitely a bug in
an application, and should be treated as such. The redirect plain
shouldn't happen.
Makes sense to me. Shouldn't even break old code, assuming they care what's in the POST data ="">
kb: there is no base template -- was that a hint that I should use template inheritance instead of an if/else/endif?
Thanks for the pointers to django.views.static and {% load markup %}. I'd clearly missed those.
re: load markup, I suggest a comment at the top of the markup.py file telling people to read up on the load markup docs. Also, what's the rationale for failing silently if the required modules aren't installed?
Cheers,
--david