django/docs
Malcolm Tredinnick 8a4e1de8b0 queryset-refactor: Changed the way order_by() and distinct() interact.
When using "select distinct" all ordering columns must be part of the output
(select) columns. We were previously just throwing away ordering columns that
weren't included, but there are some cases where they are needed and it's
difficult to add them in manually. So now the default behaviour is to append
any missing columns.

This can affect the output of distinct() if complicated order_by() constructs
are used, so the documentation has been updated with an explanation of what's
going on there.

Fixed #7070.


git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@7455 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-24 16:07:07 +00:00
..
man Fixed #5180 -- Added man pages for remaining files under django/bin/. We still need to rename some binaries before they can be safely installed, I suspect, so these aren't installed by default yet, but the groundwork is there now. Excellent job, Nick Efford! 2007-08-19 11:59:20 +00:00
add_ons.txt queryset-refactor: Merged from trunk up to [6953]. 2007-12-19 05:08:37 +00:00
admin_css.txt Fixed #2845 -- Corrected a few spelling errors in the docs and changed a 2006-09-29 02:30:42 +00:00
apache_auth.txt queryset-refactor: Merged from trunk up to [6595]. 2007-10-23 12:51:22 +00:00
api_stability.txt queryset-refactor: Merged from trunk up to [7122]. 2008-02-16 06:57:52 +00:00
authentication.txt queryset-refactor: Merged from trunk up to [7388]. 2008-04-01 00:28:15 +00:00
cache.txt queryset-refactor: Merged from trunk up to [6856]. 2007-12-03 02:59:56 +00:00
conf.py queryset-refactor: Merged from trunk up to [7388]. 2008-04-01 00:28:15 +00:00
contenttypes.txt queryset-refactor: Merged from trunk up to [7122]. 2008-02-16 06:57:52 +00:00
contributing.txt queryset-refactor: Merged from trunk up to [7280] 2008-03-18 05:45:37 +00:00
csrf.txt Added a reference for the claim in CSRF docs that GET requests 2007-08-16 14:09:41 +00:00
custom_model_fields.txt queryset-refactor: Merged from trunk up to [7338]. 2008-03-20 19:56:44 +00:00
databases.txt queryset-refactor: Merged from trunk up to [6953]. 2007-12-19 05:08:37 +00:00
databrowse.txt queryset-refactor: Merged to [6220] 2007-09-15 21:42:51 +00:00
db-api.txt queryset-refactor: Changed the way order_by() and distinct() interact. 2008-04-24 16:07:07 +00:00
design_philosophies.txt queryset-refactor: Merged from trunk up to [7025]. 2008-01-26 13:23:25 +00:00
distributions.txt queryset-refactor: Merged from trunk up to [7122]. 2008-02-16 06:57:52 +00:00
django-admin.txt queryset-refactor: Merged from trunk up to [7122]. 2008-02-16 06:57:52 +00:00
documentation.txt Fixed #4034 -- Updated docs/documentation.txt to reflect the removal of build_documentation.py 2007-05-02 20:27:37 +00:00
email.txt queryset-refactor: Merged from trunk up to [6856]. 2007-12-03 02:59:56 +00:00
faq.txt queryset-refactor: Merged from trunk up to [7216]. 2008-03-11 03:15:07 +00:00
fastcgi.txt queryset-refactor: Merged to [6300] 2007-09-15 21:57:25 +00:00
flatpages.txt queryset-refactor: Merged from trunk up to [7216]. 2008-03-11 03:15:07 +00:00
form_for_model.txt queryset-refactor: Merged from trunk up to [6953]. 2007-12-19 05:08:37 +00:00
form_preview.txt queryset-refactor: Merged from trunk up to [6635]. 2007-11-03 02:16:27 +00:00
form_wizard.txt queryset-refactor: Merged from trunk up to [7280] 2008-03-18 05:45:37 +00:00
forms.txt Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
generic_views.txt queryset-refactor: Merged from trunk up to [7338]. 2008-03-20 19:56:44 +00:00
i18n.txt queryset-refactor: Merged from trunk up to [7388]. 2008-04-01 00:28:15 +00:00
index.txt queryset-refactor: Merged from trunk up to [7388]. 2008-04-01 00:28:15 +00:00
install.txt queryset-refactor: Merged from trunk up to [7388]. 2008-04-01 00:28:15 +00:00
legacy_databases.txt Fixed #4690 -- Fixed a bunch of ReST errors in docs. Thanks, Paul B. 2007-07-01 01:00:23 +00:00
localflavor.txt queryset-refactor: Merged changes from trunk up to [7085]. 2008-02-04 05:45:17 +00:00
Makefile queryset-refactor: Merged from trunk up to [7388]. 2008-04-01 00:28:15 +00:00
middleware.txt queryset-refactor: Merged from trunk up to [7002]. 2008-01-09 06:08:40 +00:00
model-api.txt queryset-refactor: Clarified what the default reverse names are for 2008-04-24 11:21:49 +00:00
modelforms.txt queryset-refactor: Merged from trunk up to [7415]. 2008-04-13 03:04:11 +00:00
modpython.txt queryset-refactor: Merged from trunk up to [6856]. 2007-12-03 02:59:56 +00:00
newforms.txt queryset-refactor: Merged from trunk up to [7415]. 2008-04-13 03:04:11 +00:00
outputting_csv.txt Fixed #3333 -- Docs now use relative links, not hard-coded djangoproject.com links. Thanks for the patch, SmileyChris 2007-01-24 20:08:47 +00:00
outputting_pdf.txt Updated reportlab user guide link in docs/outputting_pdf.txt. Thanks, Derek Lee-Wo 2007-02-10 03:39:14 +00:00
overview.txt Fixed #5097 -- Made various updates and corrections to the documentation. Thanks, Nicola Larosa 2007-08-07 02:33:11 +00:00
pagination.txt queryset-refactor: Merged from trunk up to [7338]. 2008-03-20 19:56:44 +00:00
redirects.txt Fixed #4133 -- Fixed broken links in docs. Thanks, Gary Wilson 2007-04-24 05:58:03 +00:00
release_notes_0.95.txt Changed the 0.95 release notes to point to the 0.95 documentation index. 2007-08-04 03:36:58 +00:00
release_notes_0.96.txt queryset-refactor: Merged from trunk up to [6752]. 2007-11-29 20:38:41 +00:00
request_response.txt queryset-refactor: Merged from trunk up to [7388]. 2008-04-01 00:28:15 +00:00
serialization.txt queryset-refactor: Merged from turnk up to [7135] because I need some stuff. 2008-02-20 01:59:59 +00:00
sessions.txt queryset-refactor: Merged from trunk up to [7338]. 2008-03-20 19:56:44 +00:00
settings.txt queryset-refactor: Merged from trunk up to [7388]. 2008-04-01 00:28:15 +00:00
shortcuts.txt queryset-refactor: Merged from trunk up to [7122]. 2008-02-16 06:57:52 +00:00
sitemaps.txt queryset-refactor: Merged from trunk up to [6689]. 2007-11-18 05:48:24 +00:00
sites.txt queryset-refactor: Merged from trunk up to [7002]. 2008-01-09 06:08:40 +00:00
static_files.txt Fixed #4817 -- Removed leading forward slashes from some urlconf examples in the documentation. 2007-07-10 02:34:42 +00:00
syndication_feeds.txt queryset-refactor: Merged from trunk up to [7388]. 2008-04-01 00:28:15 +00:00
templates.txt queryset-refactor: Merged from trunk up to [7338]. 2008-03-20 19:56:44 +00:00
templates_python.txt queryset-refactor: Merged from trunk up to [7216]. 2008-03-11 03:15:07 +00:00
testing.txt queryset-refactor: Merged from trunk up to [7388]. 2008-04-01 00:28:15 +00:00
transactions.txt Added 'Transactions in MySQL' section to docs/transactions.txt 2006-07-24 02:39:50 +00:00
tutorial01.txt queryset-refactor: Merged from trunk up to [6752]. 2007-11-29 20:38:41 +00:00
tutorial02.txt queryset-refactor: Merged from trunk up to [6856]. 2007-12-03 02:59:56 +00:00
tutorial03.txt Refs #5089 -- Added file name to poll detail template examples in the tutorial. 2007-08-05 04:39:52 +00:00
tutorial04.txt queryset-refactor: Merged from trunk up to [7415]. 2008-04-13 03:04:11 +00:00
unicode.txt queryset-refactor: Merged from trunk up to [6856]. 2007-12-03 02:59:56 +00:00
url_dispatch.txt queryset-refactor: Merged from trunk up to [7388]. 2008-04-01 00:28:15 +00:00
webdesign.txt Fixed ReST error in docs/webdesign.txt 2007-03-30 01:50:46 +00:00