summaryrefslogtreecommitdiff
path: root/tests/regressiontests/model_fields
AgeCommit message (Collapse)Author
2008-07-27Removed some model saves from [8102] which were causing test failures under ↵Russell Keith-Magee
Postgres. Thanks to Ramiro Morales for the report (via IRC). git-svn-id: http://code.djangoproject.com/svn/django/trunk@8104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27Fixed #7913 -- Corrected backwards incompatible parts of [7977] when ↵Russell Keith-Magee
optgroup handling was added to field choices (Ticket #4412). Thanks to Michael Elsdorfer (miracle2k) for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30Fixed #4485 -- Allow nullable DecimalFields to store NULLs.Malcolm Tredinnick
Based on a patch from tdterry. Thanks. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7797 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20Fixed #6445 -- Allow model instances to be used as a default for ForeignKeysMalcolm Tredinnick
(via a callable). Also updates the documentation of the "default" attribute to indicate a callable can be used. Thanks, Philipe Raoult. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-30Fixed call to `ugettext`, which is imported as `_`.Gary Wilson Jr
Changed raise to conform to PEP 3109 and wrapped the long line. Added beginnings of tests for model fields. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5778 bcc190cf-cafb-0310-a4f2-bffc1f526a37