Commit Graph

76 Commits

Author SHA1 Message Date
Russell Keith-Magee 6aa5091d58 Added docs for form_for_model and form_for_instance, and added a fields argument so it is easy to create forms from a subset of model fields.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 14:42:46 +00:00
Adrian Holovaty 5d079ee214 Added start of 'Creating custom fields' section to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-25 21:06:12 +00:00
James Bennett 1c13d05043 Remove notes about things added/removed in development version, since the development version is about to become 0.96
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 20:45:30 +00:00
Adrian Holovaty c96d155589 Fixed typo in docs/newforms.txt. Thanks, Jeff Hilyard
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-15 20:55:37 +00:00
Adrian Holovaty 6ab41bef13 Made a small improvement to the first overview paragraph in docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-14 23:49:58 +00:00
Adrian Holovaty 0518205308 Implemented subclassing Forms in newforms
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-14 23:44:46 +00:00
Adrian Holovaty cf75fcc832 Fixed #3255 -- Added help_text argument to newforms Field class.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-28 22:10:04 +00:00
Adrian Holovaty 85fe107996 Made tiny grammar change to docs/newforms.txt. Thanks, Rex
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-24 03:30:32 +00:00
Adrian Holovaty 73d62743e9 newforms: Added unit tests and docs explaining that clean_data will only ever contain fields of the form, even if extra fields are passed in data
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-11 00:04:27 +00:00
Adrian Holovaty 2e148d7064 newforms: Added 'initial' parameter to Form, which lets initial data be specified dynamically
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-09 04:39:44 +00:00
Adrian Holovaty 6ee9aeb0d6 Added note to docs/newforms.txt that points out ValidationError is a different class than previously
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4292 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-05 22:15:46 +00:00
Adrian Holovaty 9cb85eb370 Fixed #3236 -- Fixed some typos in docs/newforms.txt. Thanks, christoffer.carlborg@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-05 20:14:26 +00:00
Adrian Holovaty 9d29892f56 Fixed ReST error in docs/newforms.txt from [4288]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4289 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-05 05:22:36 +00:00
Adrian Holovaty 84b673e9b1 Added a lot more to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-05 05:21:39 +00:00
Adrian Holovaty 13184efb0f More additions to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-05 00:13:36 +00:00
Adrian Holovaty 61ede43202 Added first part of 'Using forms to validate data' section to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-04 06:52:50 +00:00
Adrian Holovaty 08f3969d5e Added a small note about decoupling to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4262 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-30 00:39:41 +00:00
Adrian Holovaty b9eb649492 Added first bit of 'More granular output' to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-29 19:32:28 +00:00
Adrian Holovaty 99723ac65a Negligible change to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-27 05:14:34 +00:00
Adrian Holovaty 1147a57d20 Clarified docs/newforms.txt 'Migration plan' section
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-15 18:07:20 +00:00
Adrian Holovaty 472a0d379e Added 'Notes on field ordering' to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-13 23:13:01 +00:00
Adrian Holovaty 10edce12fc Updated docs/newforms.txt to reflect [4197]. Refs #3112
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4198 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-13 06:48:57 +00:00
Adrian Holovaty 5467c34b0b Added more to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4193 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-11 03:03:54 +00:00
Adrian Holovaty 4e72dc86ff Fixed small Unicode error in newforms. Thanks, Honza Král. Refs #3114
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-08 05:54:14 +00:00
Adrian Holovaty 9a02d668c1 Small tweak to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-07 04:59:36 +00:00
Adrian Holovaty 625ae4ef93 Added preliminary stub for docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-06 17:36:48 +00:00