Commit Graph

66 Commits

Author SHA1 Message Date
Adrian Holovaty 432e19034a Small formatting improvement to docs/db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05 14:38:22 +00:00
Adrian Holovaty 05d074670a Added 'How this is possible' section to docs/db-api.txt, describing keyword arguments in the API
git-svn-id: http://code.djangoproject.com/svn/django/trunk@407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05 14:33:29 +00:00
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 284948b9cf Fixed #166 -- Added an 'in' lookup type to the database API
git-svn-id: http://code.djangoproject.com/svn/django/trunk@318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26 16:53:58 +00:00
Adrian Holovaty 63009faa14 Added 'ne' lookup type to docs/db-api
git-svn-id: http://code.djangoproject.com/svn/django/trunk@317 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26 16:26:48 +00:00
Adrian Holovaty 786c750c40 Fixed #163 -- Added 'pk' database API option, which is a shorthand for (primary_key)__exact
git-svn-id: http://code.djangoproject.com/svn/django/trunk@316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26 16:11:43 +00:00
Adrian Holovaty c2a5c49ac2 Fixed #153 -- Changed docs to use new ordering syntax
git-svn-id: http://code.djangoproject.com/svn/django/trunk@299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 18:45:22 +00:00
Adrian Holovaty df66763406 Fixed #67 -- Human-readable name is now optional in model fields. If a second positional argument isn't given, Django will use the first argument, converting underscores to spaces. This change is fully backwards-compatible.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@212 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 17:20:37 +00:00
Adrian Holovaty e243d82874 Fixed ReST formatting bug in db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 15:44:04 +00:00
Adrian Holovaty 5797066383 Added support for istartswith and iendswith in database API
git-svn-id: http://code.djangoproject.com/svn/django/trunk@207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 15:24:03 +00:00
Jacob Kaplan-Moss 604cd7fe14 Yes yes yes -- more documentation improvements
git-svn-id: http://code.djangoproject.com/svn/django/trunk@67 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 20:37:03 +00:00
Adrian Holovaty dc2933f73b Fixed #3 -- Made OneToOneField act like ForeignKey and ManyToManyField. This is the last big API change before the official launch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@59 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 18:40:21 +00:00
Jacob Kaplan-Moss f19dbab514 Made a bunch of doc improvements
git-svn-id: http://code.djangoproject.com/svn/django/trunk@41 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 00:42:28 +00:00
Jacob Kaplan-Moss 5fc13947fc Fixed a couple of bugs in the docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@39 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-14 21:04:21 +00:00
Adrian Holovaty 26c6566215 Made some changes to db-api docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@32 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-14 19:25:13 +00:00
Jacob Kaplan-Moss 1cb1d9cd07 Moved django-docs to just plain docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-13 18:54:07 +00:00