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
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.
Django hacker and sysadmin. 3B religion follower: Beers, Basketball and Bmws. Technology agnostic. bio from Twitter
Pythonista, Djangonaut, teacher, speaker, capoeirista, and more!
Sign in to add slides, notes or videos to this session