Ticket #3922: 3922.patch
File 3922.patch, 704 bytes (added by , 17 years ago) |
---|
-
docs/newforms.txt
1914 1914 1915 1915 Note that your callback needs to handle *all* possible model field types, not 1916 1916 just the ones that you want to behave differently to the default. That's why 1917 this example has an ``else`` clause that implements the default behavior. 1917 this example has an ``else`` clause that implements the default behavior. Also 1918 be aware that the field passed in argument is the model's field, and that 1919 modifying it will impact you model! 1918 1920 1919 1921 Finding the model associated with a form 1920 1922 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~