Commit Graph

2785 Commits

Author SHA1 Message Date
Tim Graham ae1d663b79 [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
Tim Graham 252867ed2a [1.8.x] Fixed #25001 -- Doc'd caveat about collectstatic and removing INSTALLED_APPS.
Thanks aRkadeFR for the initial patch.

Backport of 5ae0dd6abf from master
2015-06-22 12:44:34 -04:00
Bipin Suresh 6aa618bae3 [1.8.x] Fixed #24983 -- Clarified contrib.sites Site.domain is fully qualified.
Backport of 34047b23e2 from master
2015-06-22 09:41:18 -04:00
Tim Graham 5cc1f13d15 [1.8.x] Fixed #25010 -- Documented APP_DIRS default in startproject's settings.py
Backport of 4a66564888 from master
2015-06-20 19:32:40 -04:00
johannes.linke aa00f48280 [1.8.x] Fixed #24881 -- Clarified Meta.order_with_respect_to documentation
Backport of 27c839e0fc from master
2015-06-19 07:03:16 -04:00
Andriy Sokolovskiy 8abe2d0643 [1.8.x] Fixed #24948 -- Fixed crash when uploading bitmap images in forms.ImageField
Backport of cf6ce279c7 from master
2015-06-16 14:38:25 -04:00
Nick Smith ffbb6d4742 [1.8.x] Used PEP 8 style indentation in forms docs.
Backport of b9bf61ce61 from master
2015-06-11 12:22:24 -04:00
argaen f85780ada0 [1.8.x] Fixed import in docs/ref/contrib/syndication.txt
Backport of 1725d00991 from master
2015-06-09 12:37:54 -04:00
Matt Deacalion Stevens 7ae470cfe2 [1.8.x] Clarified the default form widgets for model number fields in docs
Backport of 77f3d7adb1 from master
2015-06-09 12:33:37 -04:00
Tim Graham 9cf5c4dcff [1.8.x] Fixed #24956 -- Fixed typo in docs/ref/forms/widgets.txt
Backport of 9f825b9e28 from master
2015-06-08 15:20:32 -04:00
Alasdair Nicol a22a1b3e23 [1.8.x] Fixed #24952 -- Fixed example SQL in Func() expressions docs
Backport of 1f5b067710 from master
2015-06-08 10:56:46 -04:00
Yamila Moreno 7dcfbb2ef3 [1.8.x] Fixed #22571 -- Added clarification about auto_now_add=True
Backport of cbe4efcbc1 from master
2015-06-05 10:04:24 -04:00
Tim Graham a1d8a205bc [1.8.x] Capitalized "Python" in docs.
Backport of 2fbea621e6 from master
2015-06-05 08:38:43 -04:00
Ian Foote 8d33889422 [1.8.x] Fixed #24925 -- Document using Coalesce on MySQL
Add warning for using Coalesce with python values on MySQL and document
workaround.

Backport of 14dead04ac from master
2015-06-05 08:25:37 -04:00
Alasdair Nicol cccb7b49dc [1.8.x] Fixed #24191 -- Documented Form.changed_data
Thanks rhertzog and Björn Påhlsson for the suggestion.

Backport of 5c98223f39 from master
2015-06-04 13:52:15 -04:00
Simeon J Morgan 3b41850adc [1.8.x] Fixed #24896 -- Doc'd clickjacking protection doesn't overwrite X-Frame-Options header.
Backport of 0b5fb8e72c from master
2015-06-02 09:02:46 -04:00
Przemysław Suliga 52b5890f52 [1.8.x] Fixed #24880 -- Added more explicit docs on select_for_update() on SQLite.
Backport of d29ed3f355 from master
2015-06-01 08:53:59 -04:00
Tim Graham b8dce1af3a [1.8.x] Refs #24811 -- Fixed syntax error in CREATE EXTENSION example query.
Backport of c954931abd from master
2015-05-31 06:24:36 -04:00
I am Clinton 1e3741b8a3 [1.8.x] Fixed typos in docs/ref/forms/widgets.txt
Backport of 14f20c1fdc from master
2015-05-26 10:48:37 -04:00
I am Clinton 122e688a9c [1.8.x] Minor edits to docs/ref/forms/validation.txt
Backport of 73b5b0b4a5 from master
2015-05-25 13:19:54 -04:00
I am Clinton 1f33bf78fd [1.8.x] Fixed typos in docs/ref/forms/fields.txt
Backport of a6b77abff7 from master
2015-05-25 10:50:33 -04:00
Tim Graham 9def46c1c3 [1.8.x] Fixed #24811 -- Added details on installing PostgreSQL extensions.
Backport of 9ef2615d49 from master
2015-05-23 21:36:17 -04:00
Tim Graham 6b339b5c84 [1.8.x] Fixed #24839 -- Removed references to deprecated contrib.webdesign.
Backport of e11a08ee15 from master
2015-05-22 09:40:01 -04:00
I am Clinton 6260ae7015 [1.8.x] Cosmetic edits and minor fixes to docs/ref/contrib/admin/index.txt
Backport of 32f0c8f796 from master
2015-05-21 20:24:06 -04:00
Andrei Kulakov 5a0e39b2d5 [1.8.x] Fixed #24813 -- Documented {% include %} debug behavior variance
Backport of fc3409b093 from master
2015-05-21 19:52:32 -04:00
garwoodpr d3a8ce7658 [1.8.x] Cosmetic edits and minor corrections to docs/ref/django-admin.txt.
Backport of 99ec80f84a from master
2015-05-21 19:20:31 -04:00
garwoodpr 4c13140553 [1.8.x] Cosmetic edits and minor corrections to docs/ref/settings.txt.
Backport of 5edf25bddd from master
2015-05-21 19:06:33 -04:00
latyas(懒) 63d60dfe29 [1.8.x] Fixed typo in docs/ref/contrib/admin/index.txt
Backport of 8b106cfaa0 from master
2015-05-20 08:16:36 -04:00
I am Clinton 436f914dc5 [1.8.x] Fixed typos in docs/ref/request-response.txt
Backport of e4f0e5a981 from master
2015-05-18 09:46:09 -04:00
Tim Graham cc4ee06279 [1.8.x] Fixed #24630 -- Clarified docs about RunPython transactions.
Thanks Markus Holtermann for review.

Backport of 307acc745a from master
2015-05-17 18:51:40 -04:00
Piotr Jakimiak 6483f133bc [1.8.x] Fixed broken link in settings docs
Backport of ca51c55915 from master
2015-05-13 07:02:27 -04:00
David Krisch 51ebc8805e [1.8.x] Fixed #24763 -- Moved DoesNotExist exception to model docs.
Backport of 1a62f19707 from master
2015-05-08 13:13:45 -04:00
Ian Foote eb534f6412 [1.8.x] Fixed typo in docs/ref/models/expressions.txt
Backport of 756a727252 from master
2015-05-07 20:15:47 -04:00
Sławomir Ehlert 178b8fbdcd [1.8.x] Fixed typos in docs/ref/contrib/gis/geoquerysets.txt
Backport of 64ed8cdc9f from master
2015-05-06 09:59:10 -04:00
Abhaya Agarwal eb00b427fc [1.8.x] Fixed #24736 -- Documented the Sitemap.limit attribute
Backport of 9096e2b5f7 from master
2015-05-05 09:22:54 -04:00
Dave Hodder 53031cce42 [1.8.x] Updated capitalization in the word "JavaScript" for consistency
Backport of 08c980d752 from master
2015-05-01 13:27:40 -04:00
Tim Graham afae8ff916 [1.8.x] Fixed #24665 -- Clarified model field flag defaults.
Backport of 2b086229a2 from master
2015-04-29 20:41:07 -04:00
Tim Graham 8fa763a983 [1.8.x] Fixed #24704 -- Clarified system check interaction with runserver.
Backport of 0f2e82b9ec from master
2015-04-25 15:06:45 -04:00
Nicolas Noé 61e902c4c4 [1.8.x] Fixed #24656 -- Added missing imports to query expressions doc.
Backport of 37682368a6 from master
2015-04-24 10:55:35 -04:00
Alasdair Nicol 415a65fc0c [1.8.x] Fixed #24695 -- Tidied up a couple of regexes in the CBV docs
Thanks datakid for the report

Backport of b9e972b961 from master
2015-04-24 09:23:59 -04:00
Tim Graham fa49b99e31 [1.8.x] Documented INSTALLED_APPS requirement for HStoreField.
Backport of 618bc4e653 from master
2015-04-24 08:27:09 -04:00
Richard Eames fe533fc537 [1.8.x] Fixed #24613 -- Added example to QuerySet.defer() documentation
Backport of dd99f57710 from master
2015-04-22 19:19:17 -04:00
Claude Paroz 99bf9085a3 [1.8.x] Fixed #24672 -- Clarified note about installing postgis_topology
Thanks Serhiy Zahoriya for the suggestion and Tim Graham for the
review.
Backport of 6e8cb75e3e from master.
2015-04-21 17:57:36 +02:00
Steve Hiemstra 2329ca969f [1.8.x] Fixed #24682 -- Corrected a few generic editing view links
Backport of 258d81acbe from master
2015-04-21 10:27:10 -04:00
Tim Graham e02616b1b0 [1.8.x] Fixed #24668 -- Amended ModelAdmin.save_formset() example for #10284.
Thanks Carsten Fuchs.

Backport of e15c55e2bf from master
2015-04-20 10:49:56 -04:00
Neal Todd b39c970cfe [1.8.x] Amended get_all_related_objects() backwards compatible replacement.
Backport of d84f01ff08 from master
2015-04-20 09:50:31 -04:00
Tim Graham ae47854a25 [1.8.x] Removed DateTimeQuerySet from docs.
Obsolete since refs #23867.

Backport of e9fdecf984 from master
2015-04-18 10:14:38 -04:00
Tim Graham f21dd827b7 [1.8.x] Fixed #24657 -- Fixed include template tag example.
Thanks pattypatpat for the report.

Backport of f47c796b52 from master
2015-04-17 07:54:56 -04:00
Abdulrahman Alotaibi 5678e4b93a [1.8.x] Fixed #24644 -- Added HTTP_ACCEPT to example headers list.
Backport of 62261ddd0f from master
2015-04-16 07:39:33 -04:00
Tim Graham 6e5e1a380c [1.8.x] Fixed #24645 -- Documented use of HStoreExtension.
Backport of d3bf5e7b00 from master
2015-04-16 07:25:38 -04:00
Tim Graham 42f9bbd9d9 [1.8.x] Fixed typos in docs/ref/templates/api.txt
Backport of c612786cf1 from master
2015-04-14 07:58:36 -04:00
Maxime Lorant e560bc2a3e [1.8.x] Fixed formatting in docs/ref/templates/builtins.txt
Backport of 6023312dde from master
2015-04-14 07:05:57 -04:00
andredelorme 190afb8618 [1.8.x] Fixed typo in docs/ref/contrib/admin/index.txt
Backport of d5d92260bb from master
2015-04-09 13:44:31 -04:00
Tim Graham 9e87017a38 [1.8.x] Fixed #24600 -- Fixed inaccurate example in template Context docs.
Thanks pattypatpat for the report.

Backport of 3acefcefeb from master
2015-04-08 07:30:28 -04:00
lampslave e2294b453c [1.8.x] Fixed typo in docs/ref/models/expressions.txt
Backport of 800240cb1d from master
2015-04-07 13:59:20 -04:00
Joost Rijneveld 9e9914701a [1.8.x] Fixed typo in docs/ref/templates/builtins.txt
Backport of 48ddc66219 from master
2015-03-31 21:21:50 -04:00
Christopher Luc c4e8f21a9c [1.8.x] Fixed #24281 -- Improved docs for timezone handling for auto_now and auto_now_add
Thanks djbug for the report and Aymeric Augustin and Carl Meyer for the
review.

Backport of 8119876d4a from master
2015-03-29 23:38:51 +02:00
Moritz Sichert 44a05a8a91 [1.8.x] Fixed #24469 -- Refined escaping of Django's form elements in non-Django templates.
Backport of 1f2abf784a from master
2015-03-27 20:01:41 -04:00
Tim Graham 17c3a26ac2 [1.8.x] Added some missing newlines in docs/ref/validators.txt.
Backport of f4cc0c40a8 from master
2015-03-25 18:32:48 -04:00
Iacopo Spalletti 6da4ce5365 [1.8.x] Fixed #23814 -- Pointed localflavor documentation to external package
Edited localflavor doc to point to the external package documentation,
leaving just the 'How to migrate' section in Django.

Backport of 87fed94440 from master.
2015-03-22 15:36:44 +01:00
Josh Smeaton e654123f7f Fixed #24485 -- Allowed combined expressions to set output_field 2015-03-22 17:41:12 +11:00
Tim Graham 5cd551409e [1.8.x] Fixed #24503 -- Added docs on LANGUAGE_CODE fallback change in 1.8.
Thanks Pakal and Claude.

Backport of 8219eabbba from master
2015-03-20 12:10:18 -04:00
Karl Hobley a8c53041f9 [1.8.x] Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed.
Backport of 81e1a35c36 from master
2015-03-18 19:12:46 -04:00
Tim Graham 0c92913bb0 [1.8.x] Updated links to latest version of PostGIS docs.
Backport of 53d11c6821 from master
2015-03-17 18:35:51 -04:00
Tim Graham 717bbd473c [1.8.x] Updated location of gis_tests in docs.
Backport of 64b9393ae2 from master
2015-03-17 11:35:41 -04:00
Josh Smeaton a0cebe82b5 [1.8.x] Refs #24485 -- Renamed some expression types
Backport of 88d798d71a from master
2015-03-17 08:40:45 -04:00
Preston Timmons ff71d6b8de [1.8.x] Documented Context.get() method.
Backport of 4d9414098b from master
2015-03-16 13:13:47 -04:00
Josh Smeaton 09062e9509 [1.8.x] Fixed #24486 -- Documented method to provide output_field to mixed F expressions
Backport of 820381d38b from master
2015-03-16 11:56:09 -04:00
Floris den Hengst bd36f2d432 [1.8.x] Fixed doc typos.
Backport of e42a720ba2 from master
2015-03-14 12:29:27 -04:00
Tim Graham 5b91802718 [1.8.x] Refs #24462 -- Emphasized that order_by() clears previous ordering.
Backport of b9d9ab23bd from master
2015-03-13 15:42:03 -04:00
Claude Paroz f115694547 [1.8.x] Documented gdal DataSource encoding parameter
Thanks Max Demars for the suggestion and Tim Graham for the review.
Backport of a8991b9b9f from master.
2015-03-13 16:41:37 +01:00
Steven Das e1657cc37f [1.8.x] Fixed typo in docs/ref/models/fields.txt
Backport of 53bc6e2e98 from master
2015-03-12 19:16:22 -04:00
Aksel Ethem fee18ce415 [1.8.x] Fixed #24364 -- Doc'ed that ManifestStaticFileStorage shouldn't be used during testing.
Backport of b4d8b16e51 from master
2015-03-12 09:23:57 -04:00
ldrumm def39428bf [1.8.x] Fixed wrong operator in iri_to_uri() docs
Backport of 27ad12a9b8 from master
2015-03-12 13:49:07 +01:00
Sean Wang e0e2df412f [1.8.x] Fixed #24414 -- Added examples of Prefetch object usage to the docs.
Backport of a3e89f13df from master
2015-03-11 12:39:50 -04:00
Preston Timmons 2982143dac [1.8.x] Fixed typo in current_app deprecation note.
Backport of 6b605be5fe from master
2015-03-11 12:36:08 -04:00
Claude Paroz 12e199356e [1.8.x] Fixed download instructions for cities shapefile
Thanks Daniel Wiesmann for spotting the issue.
Backport of 57d42aef97 from master.
2015-03-10 19:44:27 +01:00
Claude Paroz e2816f1ff9 [1.8.x] Updated GIS docs wrt GIS test paths
Backport of 1825365152 from master.
2015-03-10 18:01:29 +01:00
Calvin Jeong 6e81786f92 [1.8.x] Fixed typo in docs/ref/database.txt
Backport of cefbbb9db3 from master
2015-03-10 07:12:39 -04:00
Floris den Hengst 9853844ed3 [1.8.x] Fixed #24432 -- Added docs for ManyToManyFields that reside in and refer to the same model.
Backport of b9b8411129 from master
2015-03-09 20:46:26 -04:00
Aymeric Augustin 2bef57f3fb [1.8.x] Improved get_media_prefix template tag example.
Backport of 9a4a9a8a49 from master
2015-03-05 10:00:05 -05:00
Andrew Pinkham ac6bc2c090 [1.8.x] Fixed #24439 -- Removed incorrect make_object_list attributes in CBV docs.
Backport of fea45eff5a from master
2015-03-02 13:33:42 -05:00
Tim Graham 9d6f0dce13 [1.8.x] Fixed #24359 -- Cleaned up docs/ref/exceptions.html
Backport of 2b19b3a031 from master
2015-02-27 13:51:29 -05:00
Sean Wang f0780df608 [1.8.x] Fixed #24358 -- Corrected code-block directives for console sessions.
Backport of eba6dff581 from master
2015-02-22 09:36:51 -05:00
Marc Tamlyn 3886338c1d [1.8.x] Update converters to take a consistent set of parameters.
As suggested by Anssi. This has the slightly strange side effect of
passing the expression to Expression.convert_value has the expression
passed back to it, but it allows more complex patterns of expressions.

Backport of 32d4db66b9 from master
2015-02-20 11:47:48 +00:00
Aymeric Augustin cc4effba0b [1.8.x] Set context.template instead of context.engine while rendering.
This opens more possibilities, like accessing context.template.origin.

It also follows the chain of objects instead of following a shortcut.

Backport of 1bfcc95 from master
2015-02-19 22:10:56 +01:00
Tim Graham 730fb593ad [1.8.x] Fixed #24335 -- Bumped required psycopg2 version to 2.4.5 (2.5 for contrib.postgres).
Backport of 3adc5f1ee6 from master
2015-02-17 06:21:59 -05:00
Tim Graham fb9551189d [1.8.x] Fixed #24350 -- Freshened up database install topic section.
Backport of 35f0cae19d from master
2015-02-16 14:59:57 -05:00
Tim Graham 50ec49c087 [1.8.x] Removed a note about old versions of MySQLdb.
Backport of f3bc7c5447 from master
2015-02-16 14:29:30 -05:00
Aymeric Augustin e8950668ca [1.8.x] Deprecated TEMPLATE_DEBUG setting.
Backport of 15b711b from master.
2015-02-15 20:48:48 +01:00
Claude Paroz a1fc97c1a7 [1.8.x] Fixed #24144 -- Documented that GEOSGeometry.envelope can return a point
Thanks Manel Clos for the report.
Backport of 1379165b35 from master.
2015-02-14 16:20:58 +01:00
Loic Bistuer 20b621eb3c [1.8.x] Fixed #24289 -- Reversed usage of Field.many_to_one and one_to_many.
Thanks Carl Meyer and Tim Graham for the reviews and to all involved
in the discussion.

Backport of 18c0aaa912 from master
2015-02-14 02:42:06 +07:00
Joe Simpson 8277f5d7d0 [1.8.x] Added each_context() and a template tip to custom admin view docs.
Backport of 648e516b8d from master
2015-02-13 10:38:29 -05:00
Markus Holtermann bd80fa6b0f [1.8.x] Fixed #24184 -- Prevented automatic soft-apply of migrations
Previously Django only checked for the table name in CreateModel
operations in initial migrations and faked the migration automatically.
This led to various errors and unexpected behavior. The newly introduced
--fake-initial flag to the migrate command must be passed to get the
same behavior again. With this change Django will bail out in with a
"duplicate relation / table" error instead.

Thanks Carl Meyer and Tim Graham for the documentation update, report
and review.

Backport of f287bec583 from master
2015-02-13 15:21:10 +01:00
Josh Smeaton a6ea62aeaf [1.8.x] Refs #14030 -- Improved expression support for python values
Backport of e2d6e14662 from master
2015-02-12 08:53:03 +11:00
Tom Christie f5749252ea [1.8.x] Improved nested ArrayField example
Backport of 737b184d91 from master
2015-02-05 11:35:23 +01:00
Josh Schneier 16e3910e9c [1.8.x] Fixed typos of "select_related" in docs and tests.
Backport of 7d363ed432 from master
2015-02-04 07:32:34 -05:00
minusf b35c226154 [1.8.x] Fixed typos in docs/ref/forms/validation.txt.
Backport of 66f5aa9fa5 from master
2015-02-03 12:27:16 -05:00
Anssi Kääriäinen 43b0131fb5 [1.8.x] Fixed #23617 -- Added get_pk_value_on_save()
The method is mainly intended for use with UUIDField. For UUIDField we
want to call the field's default even when primary key value is
explicitly set to None to match the behavior of AutoField.

Thanks to Marc Tamlyn and Tim Graham for review.

Backport of 8adc59038c from master
2015-02-03 09:25:55 -05:00
Tim Graham 5fdd74f4be [1.8.x] Fixed broken links in class based views flattend index; refs #24250.
Backport of 9a391fbd61 from master
2015-02-03 09:12:08 -05:00