DjangoCon Europe 2023 | Good form: How Django’s form rendering improved during the 4.x series

Good form: How Django’s form rendering improved during the 4.x series by David Smith If you render forms server side then this talk is for you! How to make best use of Django’s form rendering features introduced during the 4.x series to help you simplify your form logic. Historically Django has used concatenation of strings to render its forms with various as_* methods to render forms in different styles. While great to get a project up and running many folk will have used a third party library to help ease customisation of forms. During the 4.x series a number of changes have been made including a switch to use the template engine to render forms, the ways in which the template can be set has grown and a new default style will replace as_table from Django 5.0. We’ll cover: ⁃ What is a form, a field and a widget? What common attributes can I set to avoid logic in my template? ⁃ The switch to template based rendering, and that a template can now be used to render your form. We’ll work through a concrete example how this can be used simplify logic in your templates. ⁃ How the rendering of your form can be set on a per-project, per-form and per-instance basis. ⁃ Introduction of a new as_div template style, and why the other styles are no longer recommended. ⁃ Future ideas on how Django can ease form rendering further. ⁃ So with all this change, do I still need 3rd-party package such as crispy-forms? May your form be good!

DjangoCon Europe 2023 | Yak-shaving to Where the Puck is Going to Be.
▶︎

DjangoCon Europe 2023 | Yak-shaving to Where the Puck is Going to Be.

Pro Django - Tutorial 1 - Project Structure, Poetry, Makefile, and Settings Management
▶︎

Pro Django - Tutorial 1 - Project Structure, Poetry, Makefile, and Settings Management

Exploring OpenTelemetry: The Path to Perfect Traces in .NET - Aleksei Cherniaev - KGD.NET 159
▶︎

Exploring OpenTelemetry: The Path to Perfect Traces in .NET - Aleksei Cherniaev - KGD.NET 159

Async Django: The practical guide you've been **awaiting** for with Carlton Gibson - DCUS 2022
▶︎

Async Django: The practical guide you've been **awaiting** for with Carlton Gibson - DCUS 2022

Vlada Pogozhelskaya: When the PostgreSQL Planner Gets Too Optimistic:Index Choice and Join Estimates
▶︎

Vlada Pogozhelskaya: When the PostgreSQL Planner Gets Too Optimistic:Index Choice and Join Estimates

DjangoCon 2022 | Quality Assurance in Django - Testing what matters
▶︎

DjangoCon 2022 | Quality Assurance in Django - Testing what matters

James Bennett - Django in Depth - PyCon 2015
▶︎

James Bennett - Django in Depth - PyCon 2015

Why AI Agents are either the best or worst thing we’ve ever built
▶︎

Why AI Agents are either the best or worst thing we’ve ever built

Django - Building Form Wizards with formtools and django-crispy-forms
▶︎

Django - Building Form Wizards with formtools and django-crispy-forms

Sebastian Buczyński - Refactoring legacy Django app using OOP
▶︎

Sebastian Buczyński - Refactoring legacy Django app using OOP

Learn Python - Full Course for Beginners [Tutorial]
▶︎

Learn Python - Full Course for Beginners [Tutorial]

Dominic Bachmann: From Typos to Type Safety — Building a Typed Router for Angular @ Angular Vienna
▶︎

Dominic Bachmann: From Typos to Type Safety — Building a Typed Router for Angular @ Angular Vienna

Blue Ridge Ruby 2026 - 5 ways to invest in yourself for the long haul by Thomas Cannon
▶︎

Blue Ridge Ruby 2026 - 5 ways to invest in yourself for the long haul by Thomas Cannon

DjangoCon Europe 2023 | Do the holes in Swiss cheese leak abstractions?
▶︎

DjangoCon Europe 2023 | Do the holes in Swiss cheese leak abstractions?

AWS S3 Files – Tomáš Sezima, Datamole
▶︎

AWS S3 Files – Tomáš Sezima, Datamole

Django Migrations: Pitfalls and Solutions with Benjamin Zagorsky - DjangoCon US 2022
▶︎

Django Migrations: Pitfalls and Solutions with Benjamin Zagorsky - DjangoCon US 2022

DjangoCon Europe 2023 | Keynote: DjangoGirls: It takes a Village
▶︎

DjangoCon Europe 2023 | Keynote: DjangoGirls: It takes a Village

Getting inline SVG out of your browser bundles - Frontend meetup in Helsinki
▶︎

Getting inline SVG out of your browser bundles - Frontend meetup in Helsinki

What is SonarQube | Introduction SonarQube | SonarQube Tutorial | SonarQube Basics | Intellipaat
▶︎

What is SonarQube | Introduction SonarQube | SonarQube Tutorial | SonarQube Basics | Intellipaat

Django Through the Years with Andrew Godwin - DjangoCon US 2022
▶︎

Django Through the Years with Andrew Godwin - DjangoCon US 2022