Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

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

Автор: DjangoCon Europe

Загружено: 2023-06-08

Просмотров: 1557

Описание:

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 | Good form: How Django’s form rendering improved during the 4.x series

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

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.

DjangoCon 2022 | Quality Assurance in Django - Testing what matters

DjangoCon 2022 | Quality Assurance in Django - Testing what matters

DjangoCon 2019 - Frontend Development for Backend Developers

DjangoCon 2019 - Frontend Development for Backend Developers

DjangoCon Europe 2025 | How to get Foreign Keys horribly wrong in Django

DjangoCon Europe 2025 | How to get Foreign Keys horribly wrong in Django

Django Trends in 2023 - Talk Python to Me Ep.428

Django Trends in 2023 - Talk Python to Me Ep.428

DjangoCon 2022 | Run your tests in hundreds of different environments fast. I mean really fast.

DjangoCon 2022 | Run your tests in hundreds of different environments fast. I mean really fast.

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

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

Декораторы Python — наглядное объяснение

Декораторы Python — наглядное объяснение

Django — создание мастеров форм с помощью formtools и django-crispy-forms

Django — создание мастеров форм с помощью formtools и django-crispy-forms

DjangoCon Europe 2025 | Just-in-Time Development with Django and HTMX: Faster, Leaner, and Smarter

DjangoCon Europe 2025 | Just-in-Time Development with Django and HTMX: Faster, Leaner, and Smarter

Глава Neuralink: чип в мозге заменит вам телефон

Глава Neuralink: чип в мозге заменит вам телефон

What Django Deployment is Really About by James Walters

What Django Deployment is Really About by James Walters

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

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

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

КАК УСТРОЕН TCP/IP?

КАК УСТРОЕН TCP/IP?

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

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

Django Form Processing Deep Dive

Django Form Processing Deep Dive

Прогноз Сергея Гуриева. Что будет с войной, экономикой и россиянами в 2026?

Прогноз Сергея Гуриева. Что будет с войной, экономикой и россиянами в 2026?

DjangoCon Europe 2025 | Anatomy of a Database Operation

DjangoCon Europe 2025 | Anatomy of a Database Operation

DjangoCon 2019 - Building effective Django queries with expressions by Vanessa Barreiros

DjangoCon 2019 - Building effective Django queries with expressions by Vanessa Barreiros

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]