On 2/4/06, Ashocka <[EMAIL PROTECTED]> wrote:
> What I need to know is, will the Django Framework address the problem
> of "serving xhtml with correct mime-type"?  This seems to me to be
> something that belongs within the framework and something that v1.x
> should address.

Sube Kirkeby wrote a middleware that handles this; I've not used it
personally, but it looks like the way to go:
http://code.ibofobi.dk/public/wiki/XHTMLAsHTMLMiddleware

I'm not sure I'd want to see it as a core component, though, because
not everyone's going to be using Django to output XHTML; there's
nothing wrong with HTML 4.01, and plenty of folks still prefer it for
various reasons.


--
"May the forces of evil become confused on the way to your house."
  -- George Carlin

Reply via email to