Adrian Holovaty
|
b307fb09bb
|
Fixed #239 and #107 -- Changed model init() to use Field.get_default() if the value wasn't explicitly passed as a keyword argument. That means setting 'id=None' is no longer necessary, and you can leave off fields if you want them to have default values set.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-01 16:26:39 +00:00 |
Adrian Holovaty
|
6451118946
|
Added equality test to 'basic' model unit test
git-svn-id: http://code.djangoproject.com/svn/django/trunk@343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-29 20:29:59 +00:00 |
Adrian Holovaty
|
daf8467b37
|
Added first stab at model and DB-API unit tests
git-svn-id: http://code.djangoproject.com/svn/django/trunk@336 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-29 15:15:40 +00:00 |