Thanks for the link. I'm supprised there nothing "built-in" to allow this. Django's essentally pushing you to use XHTML over HTML.
Not really a big deal though, I suppose. I'm just starting the project out so it won't take much to convert the whole page to XHTML. I'll probably just go that route. On Jan 26, 1:28 pm, "Eduardo O. Padoan" <eduardo.pad...@gmail.com> wrote: > On Mon, Jan 26, 2009 at 4:23 PM, Ty <brownellty...@gmail.com> wrote: > > > I write HTML 4.01 strict documents and I'm using the django.forms form- > > handling library. > > > Currently when printing input fields on the template, the output > > includes the ending slash: "<input />". > > > Is there any way, other then manually writing the input field to the > > template, to get these variables to output in an HTML 4.01 strict > > compliance mode? > > Django-html[1] provides a {% doctype %} and a {% field %} tag. You > declare your doctype and the field output will be always correct. > > [1]http://code.google.com/p/django-html/ > > -- > Eduardo de Oliveira Padoanhttp://djangopeople.net/edcrypt/ > "Distrust those in whom the desire to punish is strong." -- Goethe, > Nietzsche, Dostoevsky --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---