Advanced Django Form Usage

A session at DjangoCon US 2011

Thursday 8th September, 2011

11:20am to 12:00pm

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


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.

About the speakers

This person is speaking at this event.
Miguel Araujo

Django hacker and sysadmin. 3B religion follower: Beers, Basketball and Bmws. Technology agnostic. bio from Twitter

This person is speaking at this event.
Daniel Greenfeld

Pythonista, Djangonaut, teacher, author, speaker, capoeirista, and more!

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!


Time 11:20am12:00pm PST

Date Thu 8th September 2011

Short URL


Official session page


View the schedule



Books by speaker

  • Two Scoops of Django: Best Practices for Django 1.8
  • Into the Brambles: The Brambles Book 1 (Volume 1)
  • Two Scoops of Django

See something wrong?

Report an issue with this session