Commit Graph

18 Commits

Author SHA1 Message Date
Adrian Holovaty b7528320b6 Changed overview and tutorial docs to use render_to_response and get_object_or_404, to cut down on code
git-svn-id: http://code.djangoproject.com/svn/django/trunk@678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23 22:50:05 +00:00
Adrian Holovaty 65bab4b824 Fixed #456 -- Fixed minor typo in docs/overview.txt. Thanks, eugene@lazutkin.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-04 18:24:23 +00:00
Adrian Holovaty d31699f227 Fixed some bugs in model syntax of docs/overview.txt -- thanks, Paul Bissex
git-svn-id: http://code.djangoproject.com/svn/django/trunk@605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 18:14:44 +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
Adrian Holovaty 6950f4f8dd Fixed small typo in docs/overview.txt -- thanks, Trent
git-svn-id: http://code.djangoproject.com/svn/django/trunk@381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-01 21:37:16 +00:00
Adrian Holovaty 6656806f42 Fixed duplicate code bug in docs/overview.txt -- thanks, James Kew
git-svn-id: http://code.djangoproject.com/svn/django/trunk@380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-01 21:35:55 +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 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 c21f6ecee2 Fixed #92 -- meta.Admin 'fields' parameter is now optional. If it's not given, Django will use all editable fields by default. This cuts down on redundancy. Also updated relevant docs to reflect the change.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 03:46:16 +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 73ea27ccb0 Fixed bug in [191]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 03:06:28 +00:00
Adrian Holovaty 2363af5782 Fixed #54 -- Corrected typos in urlconfs in docs/overview. Thanks, james!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 02:22:11 +00:00
Adrian Holovaty ad8e55db9b Added notes to documentation that MySQL support has not been comprehensively tested. Thanks, Simon!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:53:56 +00:00
Adrian Holovaty 87b7703bd3 Fixed bug in template example in docs/overview.txt -- thanks, pbx!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 21:17:58 +00:00
Adrian Holovaty 07c8a965b6 Fixed small typo in overview
git-svn-id: http://code.djangoproject.com/svn/django/trunk@90 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 02:40:24 +00:00
Jacob Kaplan-Moss c1c308468e Fixed small error in overview doc
git-svn-id: http://code.djangoproject.com/svn/django/trunk@69 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 20:53:17 +00:00
Jacob Kaplan-Moss 80b4e33f1a More doc improvements: tweaks to the overview; added admin css documentation from wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@50 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 15:57:46 +00:00
Jacob Kaplan-Moss 0f40f3b757 More doc improvments: moved overview into doc system so it can be distributed with the package, and fixed a few spelling errors in templates doc (fixes #31).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@49 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 15:31:20 +00:00