Changeset 5824
- Timestamp:
- 08/06/07 21:18:36 (1 year ago)
- Files:
-
- django/trunk/docs/newforms.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/newforms.txt
r5820 r5824 749 749 750 750 Constructing an unbound form is the same as always -- just omit both 751 form data *and* file data: 751 form data *and* file data:: 752 752 753 753 # Unbound form with a image field … … 1626 1626 For example:: 1627 1627 1628 # Create a form instance with POST data.1629 >>> f = AuthorForm(request.POST)1628 # Create a form instance with POST data. 1629 >>> f = AuthorForm(request.POST) 1630 1630 1631 1631 # Create and save the new author instance. There's no need to do anything else.
