Commit Graph

9 Commits

Author SHA1 Message Date
Adrian Holovaty 250281361d Changed get_object() not to use 'ordering' parameter from the model. Thanks, Ned Batchelder. Also updated some unit tests to show correct DoesNotExist output
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-25 17:24:17 +00:00
Adrian Holovaty 10ca90a2fd Added unit tests to verify OneToOne deletion works
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21 02:34:05 +00:00
Adrian Holovaty 887ed3ad2c Changed one_to_one unit test to use %r instead of %s in repr method
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 22:17:00 +00:00
Adrian Holovaty 473306a658 Added unit test to one_to_one model that confirms #527
git-svn-id: http://code.djangoproject.com/svn/django/trunk@648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-20 01:12:24 +00:00
Adrian Holovaty 25264c8604 Fixed #122 -- BIG, BACKWARDS-INCOMPATIBLE CHANGE. Changed model syntax to use fieldname=FieldClass() syntax. See ModelSyntaxChangeInstructions for important information on how to change your models
git-svn-id: http://code.djangoproject.com/svn/django/trunk@549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-25 22:51:30 +00:00
Jacob Kaplan-Moss f65350b197 Doctest now uses the ELLIPSIS option, which allows the one_to_one test to pass under sqlite. This fixes #238.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10 18:10:38 +00:00
Adrian Holovaty 7dc07ed937 Fixed typo in one_to_one test docstring. Thanks, Frank
git-svn-id: http://code.djangoproject.com/svn/django/trunk@396 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-04 02:35:26 +00:00
Adrian Holovaty 3aa33edeef Small formatting improvement to one_to_one model test
git-svn-id: http://code.djangoproject.com/svn/django/trunk@358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-01 15:31:50 +00:00
Adrian Holovaty 04544c97b9 Added one_to_one model unit test/example
git-svn-id: http://code.djangoproject.com/svn/django/trunk@355 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-31 00:20:56 +00:00