PyGRAZ ist eine Usergroup mit die Python-Programmiersprache in Graz. Wir treffen uns regelmässig am ersten Dienstag im Monat entweder im realraum oder im Gösserbräu.

Meetup vom 1. November 2022 um 19:00 Uhr

Lightning Talks!

Did you find a helpful Python package? Did you see an interesting talk at EuroPython and want to summarize for others? Did you learn about a nifty tool that simplifies Python development? Make a short presentation about it (typically 5 to 10 minutes).

Of course you can also join without an own talk.

Join us and get more details on .


Django HTML and XML Validator

von Thomas Aglassinger

Django provides templates to render HTML pages. These are essentially HTML files mixed with additional programmable markup. Because of this extension, they are generally not valid HTML, and consequently cannot be validated uses common tools like tidy.

Middleware solutions exist to validate the HTML actually rendered from the template. However, most of them either send your HTML to external sites for validation or require the installation of external tools.

The middleware presented in this talk uses lxml to quickly and localy validate HTML generated from Django templates.


Location: Spektral

Lendkai 45, 8020 Graz

Comments powered by Disqus