summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_widgets/tests.py
AgeCommit message (Collapse)Author
2010-03-02[1.1.X] Fixed #11465: Ensure nonexistent pks enterd in an admin raw id field ↵Karen Tracey
do not cause a server error. Thanks for report and initial patch sacre@wp.pl. Backport of r12648 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23Fixed #11532 -- Corrected the link used for edit_inline foreign keys in ↵Russell Keith-Magee
admin when the admin is deployed using the old style admin.root approach. Thanks to JP for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11314 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-08Fixed #10059: `ModelAdmin.formfield_for_dbfield` now handles custom `Field` ↵Jacob Kaplan-Moss
subclasses. Thanks, Alex Gaynor. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30Fixed #10537: Fixed the foreign key add-another link in list_editable. ↵Jacob Kaplan-Moss
Thanks, Alex and jezdez. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-16Changed "date" column to "start_date"--Oracle won't name columns with ↵Matt Boersma
reserved keywords. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-16Cleaned up and refactored `ModelAdmin.formfield_for_dbfield`:Jacob Kaplan-Moss
* 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