Commit Graph

6109 Commits

Author SHA1 Message Date
Russell Keith-Magee b8ba0154b8 Fixed #9085: Modified some example form HTML to be XHTML, consistent with Django default rendering. Thanks to Jarek Zgoda for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 12:14:31 +00:00
Simon Willison 7617e73c8c Added documentation on creating reusable form templates; thanks for the suggestion, oggie rob
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 09:30:05 +00:00
Simon Willison 6fcdcbd456 Clarified the wording of the section on customizing form.errors within a field loop
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 00:13:25 +00:00
Simon Willison 5389c0d2af Added documentation of the Form class's custom __iter__ method to the forms API reference as well
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 00:07:13 +00:00
Simon Willison 7ac86d17c8 Added documentation for looping over a form's fields in a template
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 23:55:09 +00:00
Russell Keith-Magee e820b54401 Fixed #9044: Corrected mistake in a closing tag in an example template. Thanks to Rick Vanderzwet for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 13:10:36 +00:00
Russell Keith-Magee 47091ab5b5 Fixed #9032: Corrected some minor typos in the admin docs. Thanks to rduffield for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9028 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 12:59:39 +00:00
Russell Keith-Magee c9f0dd1ed6 Fixed #9075: Added a call to close() in the example file upload handler. Thanks to Brendan (bmsleight) for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 10:32:04 +00:00
Russell Keith-Magee ea0fe604d8 Fixed #9078: Added commas to the example URLconf lines so that they can be easily copied and pasted. Thanks to mo.longman@gmail.com for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 09:39:04 +00:00
Russell Keith-Magee 83d2cb79cb Fixed #9077: Modified the database installation notes to point to somewhere useful, rather than initd.org's rant page about Trac. Thanks to velo for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 09:34:31 +00:00
Russell Keith-Magee e600d00b44 Fixed #9067: Added a note that you can register a model with the admin without providing a ModelAdmin object. Thanks to Rob Hudson for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9024 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 08:58:16 +00:00
Russell Keith-Magee 7ab3285f64 Fixed #9060: Clarified some language in the description of modelformset_factory. Thanks to gsf for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 08:36:58 +00:00
Russell Keith-Magee 7931da87ec Fixed #9059: Corrected some markup in tutorial 4 that incorrectly identified a template variable as a function. Thanks to zen for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 08:28:55 +00:00
Russell Keith-Magee a8d2810be5 Fixed #9048: Corrected markup typo in tutorial 4. Thanks to gkelly for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 08:15:22 +00:00
Russell Keith-Magee bc75e912a4 Fixed #9046: Corrected a typo in the m2m intermediate docs. Thanks to djoume for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 07:52:45 +00:00
Russell Keith-Magee 24d3129edd Fixed #8570: Corrected some code that was using 8-space tabs for some reason. Thanks to Manuel Saelices for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 07:04:40 +00:00
Russell Keith-Magee 5a4feb9ec2 Fixed #9052: Corrected typo in file handling docs. Thanks to KiWiB0RG for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 06:49:28 +00:00
Brian Rosner 2d8d69f9ae Fixed #9050 -- Fixed a typo in the 1.0 porting guide in the admin section. Thanks ahebert.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-12 16:56:09 +00:00
Brian Rosner 9ee0b0d384 Fixed #9027 -- Corrected the documentation about can_delete default value. Thanks gsf for catching this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-12 16:52:28 +00:00
Brian Rosner 1a2296267d Fixed #9056 -- Corrected a typo in topic/forms/modelforms.txt documentation. Thanks drozzy for catching this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-12 15:52:39 +00:00
Adrian Holovaty 1b58b77f0d Edited docs changes from [9010] and [9011]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9014 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 03:32:28 +00:00
Adrian Holovaty 8c6f5c6f05 Edited i18n.txt changes from [9009]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 03:28:49 +00:00
Simon Willison 868748e196 Fixed #9018
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 02:59:11 +00:00
Simon Willison bc5cddc5c5 Clarified the bit in the tutorial about creating your first admin.py - fixes #8891
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 02:57:31 +00:00
Simon Willison 1c78bf4b98 Small documentation tweaks, fixes #9000 - thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 02:43:32 +00:00
Simon Willison b0da050b83 Clarified i18n docs concerning verbose_name and verbose_name_plural - fixes #7102
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 02:32:59 +00:00
Malcolm Tredinnick cfcfc456e9 Fixed a typo so that cloning UpdateQuery objects won't fail mysteriously.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 02:02:06 +00:00
Malcolm Tredinnick e47cc781d8 A bug from queryset-refactor days: although the Query class has "group_by" and
"having" attributes, only the former was included in the resulting SQL, meaning
subclasses had to completely duplicate Query.as_sql() if they were using any
kind of grouping filtering on the results.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 02:00:27 +00:00
Simon Willison 11fd9f2d84 Fixed #8858 by correcting typo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 00:30:31 +00:00
Simon Willison f17f2bfd1f Re-added docs for QuerySet reverse() and all() methods, refs #9000 - thanks ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 00:24:02 +00:00
Ian Kelly 0cd7fbec56 Fixed an incorrectly named DatabaseOperations method. It was causing non-Oracle backends to fail when running syncdb with tablespaces set.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 23:03:07 +00:00
Adrian Holovaty 33c29736bb Fixed #9010 -- Fixed typo in custom-file-storage.txt. Thanks, rduffield
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 15:09:53 +00:00
Adrian Holovaty 32db67e6f9 Fixed #8957 -- Fixed incorrect error message when Admin prepopulated_fields refers to a field that does not exist. Thanks, charmless
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9002 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 06:06:04 +00:00
Adrian Holovaty 40cb11a554 Moved the bulk of the shortcut() function in django/views/defaults.py to a new module, django/contrib/contenttypes/views.py. As a result, django/views/defaults.py no longer relies on django.contrib.contenttypes. Of course, the shortcut() function is still available in the former module, for backwards compatibility. See the new FutureBackwardsIncompatibleChanges wiki page.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 05:56:34 +00:00
Adrian Holovaty 5cc93500e8 Fixed #8959 -- Removed redundant calls to the 'escape' template filter in the django.contrib.comments templates. Thanks, zgoda
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 05:14:59 +00:00
Adrian Holovaty 665f9342d3 Reworded a bunch of the links on the docs index to be consistent
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 05:04:24 +00:00
Adrian Holovaty 78cb60ab07 Changed the 'Getting help' section of the docs index.txt to have consistent trailing punctuation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8998 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 04:53:44 +00:00
Adrian Holovaty 8be80c2380 Fixed #8996 -- Fixed small typo in documentation.txt. Thanks, rduffield
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8997 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 04:04:57 +00:00
Adrian Holovaty 1aa8449fb7 Fixed #9003 -- Fixed awkward wording in querysets.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8996 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 03:57:52 +00:00
Adrian Holovaty 568b8637bf Fixed #8958 -- Fixed typo in cache.txt. Thanks, benwalton@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8995 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 19:53:57 +00:00
Justin Bronn 152b9ba717 Fixed #8881 by specifying the geometry column name; added the `geom_col_name` classmethod to `GeometryColumns` for Oracle and PostGIS.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 19:19:51 +00:00
Adrian Holovaty 2dd4b949f5 Fixed #8986 -- Fixed typo in install.txt. Thanks, rduffield
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8993 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 19:09:05 +00:00
Marc Fargas ff22efef5d Closes #8973. Updated Telugu Translation. Thanks Thejaswi Puthraya.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 16:07:06 +00:00
Adrian Holovaty 646c12f0d4 Fixed #8985 -- Removed two FAQ questions that have been outdated by the 1.0 release, including 'When will you release Django 1.0?' Good riddance!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8991 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 02:33:14 +00:00
Adrian Holovaty 640f198111 Fixed #8978 -- We now print a helpful error message for 'manage.py dbshell' if the client executable is not found. Previously we were displaying a traceback
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 02:18:06 +00:00
Adrian Holovaty 42a878cfea db: Gave each DatabaseClient class an 'executable_name' attribute (e.g., 'psql' or 'mysql'), so that we can use it to make a more helpful error message. Refs #8978
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 02:13:58 +00:00
Adrian Holovaty 8f78d7f940 Fixed #8983 -- Removed a funky character from faq/general.txt. Thanks, Fernando Correia
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 01:56:01 +00:00
Adrian Holovaty 74f386dba2 Fixed #8979 -- Made a bunch of typo/formatting fixes to the docs. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 01:54:20 +00:00
Adrian Holovaty 834a041e67 Fixed #8982 -- Removed funky character from whatsnext.txt. Thanks, Fernando Correia
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8986 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 01:43:17 +00:00
Adrian Holovaty 1bfed070c3 Fixed #7929 -- Removed some snippets of admin code that weren't doing anything, and tightened up a few more lines. Plus, an indentation fix. Thanks, julien
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-08 05:45:17 +00:00