django1/docs/ref/contrib
Jacob Kaplan-Moss f212b24b64 Cleaned up and refactored `ModelAdmin.formfield_for_dbfield`:
* The new method uses an admin configuration option (`formfield_overrides`); this makes custom admin widgets especially easy.
  * Refactored what was left of `formfield_for_dbfield` into a handful of smaller methods so that it's easier to hook in and return custom fields where needed.
  * These `formfield_for_*` methods now pass around `request` so that you can easily modify fields based on request (as in #3987).

Fixes #8306, #3987, #9148.

Thanks to James Bennet for the original patch; Alex Gaynor and Brian Rosner also contributed.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9760 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-16 15:32:31 +00:00
..
_images Massive reorganization of the docs. See the new docs online at http://docs.djangoproject.com/. 2008-08-23 22:25:40 +00:00
comments Fixed #9346: fixed comment upgrade SQL in documentation. Thanks, mt. 2009-01-12 17:31:40 +00:00
formtools Fixed #9121: Corrected markup in the form preview docs. Thanks to Jarek Zgoda for the report. 2008-09-18 15:57:47 +00:00
admin.txt Cleaned up and refactored `ModelAdmin.formfield_for_dbfield`: 2009-01-16 15:32:31 +00:00
auth.txt Massive reorganization of the docs. See the new docs online at http://docs.djangoproject.com/. 2008-08-23 22:25:40 +00:00
contenttypes.txt Fixed #8909 -- Fixed typo in contenttypes docs. Thanks, arien 2008-09-06 16:49:31 +00:00
csrf.txt Edited ref/contrib/csrf.txt changes from [9554] 2008-12-08 04:15:19 +00:00
databrowse.txt Fixed #9497 - Doc typos. Many thanks ramiro. 2008-11-02 20:43:20 +00:00
flatpages.txt Fixed #8753: converted "new in ..." callouts to proper Sphinx "versionadded/versionchanged" directives. Thanks to Marc Fargas for all the heavy lifting here. 2008-09-02 03:40:42 +00:00
humanize.txt Fixed #8753: converted "new in ..." callouts to proper Sphinx "versionadded/versionchanged" directives. Thanks to Marc Fargas for all the heavy lifting here. 2008-09-02 03:40:42 +00:00
index.txt Fixed #8753: converted "new in ..." callouts to proper Sphinx "versionadded/versionchanged" directives. Thanks to Marc Fargas for all the heavy lifting here. 2008-09-02 03:40:42 +00:00
localflavor.txt Fixed #9705 -- Call the Netherlands by their real name in the localflavor 2008-12-07 03:42:25 +00:00
redirects.txt Massive reorganization of the docs. See the new docs online at http://docs.djangoproject.com/. 2008-08-23 22:25:40 +00:00
sitemaps.txt Fixed #9078: Added commas to the example URLconf lines so that they can be easily copied and pasted. Thanks to mo.longman@gmail.com for the suggestion. 2008-09-14 09:39:04 +00:00
sites.txt Fixed #9497 - Doc typos. Many thanks ramiro. 2008-11-02 20:43:20 +00:00
syndication.txt Fixed #9477 -- Removed and edited a bunch of references to "development 2008-11-15 05:51:25 +00:00
webdesign.txt Massive reorganization of the docs. See the new docs online at http://docs.djangoproject.com/. 2008-08-23 22:25:40 +00:00