0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
django/docs
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
..
_ext Fixed #9645 -- Work around a backwards-incompatibility in Sphinx so that 2008-12-07 04:00:08 +00:00
_static 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
_templates Massive reorganization of the docs. See the new docs online at http://docs.djangoproject.com/. 2008-08-23 22:25:40 +00:00
faq Yet another place where we claim to support 2.3 and up 2008-12-10 01:52:08 +00:00
howto Revised r9566 slightly to be backwards compatible with versions 1.0 - 1.0.2. 2009-01-09 12:41:07 +00:00
internals Added a link to RKM's blog in the committers file. 2009-01-03 05:04:12 +00:00
intro Fixed #6470: made the admin use a URL resolver. 2009-01-14 20:22:25 +00:00
man Cleaned up a bunch of minor doc stuff: 2008-09-02 16:42:13 +00:00
misc Added a stability note about template tag names. 2008-09-03 00:09:52 +00:00
obsolete Removed doc references to obsolete removed forms stuff. 2008-08-28 16:33:11 +00:00
ref Cleaned up and refactored ModelAdmin.formfield_for_dbfield: 2009-01-16 15:32:31 +00:00
releases Fixed #9677 -- Fixed a tiny typo in the 1.0.2 release notes. 2008-12-07 03:54:45 +00:00
topics Fixed #8138 -- Changed django.test.TestCase to rollback tests (when the database supports it) instead of flushing and reloading the database. This can substantially reduce the time it takes to run large test suites. 2009-01-16 02:30:22 +00:00
conf.py Fixed #8955: Modified the sphinx configuration to generate LaTeX documentation. Thanks to simonb for the report and fix. 2008-09-18 15:46:20 +00:00
contents.txt Massive reorganization of the docs. See the new docs online at http://docs.djangoproject.com/. 2008-08-23 22:25:40 +00:00
glossary.txt Massive reorganization of the docs. See the new docs online at http://docs.djangoproject.com/. 2008-08-23 22:25:40 +00:00
index.txt Fixed #3566 -- Added support for aggregation to the ORM. See the documentation for details on usage. 2009-01-15 11:06:34 +00:00
Makefile Massive reorganization of the docs. See the new docs online at http://docs.djangoproject.com/. 2008-08-23 22:25:40 +00:00