Conference Schedule

Track one or two? Eeenie, meenie, miney, moe…

log in to bookmark.

Advanced Django Form Usage

A Talk presented by Daniel Greenfeld, Miguel Araujo

Time

Thursday, September 8th 11:20 a.m.–noon

Level

Intermediate

Description

Django forms are really powerful but there are edge cases that can cause a bit of anguish. This talk will go over how to handle many common solutions not currently described in the core documentation. It will also cover some useful third-party libraries and will end with clarifications about what the state of form features will be in Django 1.4.

Abstract

Django forms are really powerful but there are edge cases that can cause a bit of anguish. This talk will go over how to handle many common solutions not currently described in the core documentation. It will also cover some useful third-party libraries and will end with clarifications about what the state of form features will be in Django 1.4.

Outline:

  • Handy tips
    • Turning non-required model fields into required form fields
    • Overriding clean methods
    • Overriding save method
    • Calling forms the easy way in views
    • Custom field definitions
    • Dynamically adding fields
    • Formsets
    • Testing forms
  • Third Party Libraries that make your life easier
    • django-uni-form
    • django-floppyforms
  • The future
    • Forms refactor in Django 1.4
    • Documentation improvements

Time will be left for Q&A.