Commit Graph

26100 Commits

Author SHA1 Message Date
Mariusz Felisiak 1f8a5d4fac [2.1.x] Made DatabaseWrapper.oracle_version() return a full version tuple.
Backport of 90d93a1b42 from master
2018-09-26 08:54:51 +02:00
Oleg cdb8ee741d [2.1.x] Fixed #29778 -- Fixed quoting of unique index names.
Regression in 3b429c9673.
Backport of d1d5c97bc2 from master.
2018-09-25 16:10:47 -04:00
Jon Dufresne f53ed7846b [2.1.x] Refs #29784 -- Normalized Python docs links to omit the version.
Backport of ad9a28ee38 from master.
2018-09-25 10:22:06 +02:00
Jon Dufresne c6d147bed8 [2.1.x] Refs #29784 -- Changed Python f-string link to use intersphinx.
Backport of 3a3d159ab6 from master.
2018-09-25 10:21:36 +02:00
Thomas Grainger 1d9725504c [2.1.x] Updated contributing tutorial's virtual environment instructions.
Backport of c99d379f53 from master
2018-09-19 15:04:53 -04:00
Tim Graham 322b70f605 [2.1.x] Fixed typo in docs/releases/2.1.txt.
Backport of 0192e9a976 from master
2018-09-18 15:47:07 -04:00
Adam Johnson 7b0da16725 [2.1.x] Made various edits to docs/ref/utils.txt.
Backport of beffa061eb from master
2018-09-18 11:43:16 -04:00
jtiai 93f4080813 [2.1.x] Fixed #29757 -- Documented Oracle DSN and Easy Connect options.
Backport of 583b9fc410 from master
2018-09-17 10:48:21 -04:00
Mariusz Felisiak 430966c2fc
[2.1.x] Fixed #29759 -- Fixed crash on Oracle when fetching a returned insert id with cx_Oracle 7.
Backport of da92ec7962 from master
2018-09-16 12:49:24 +02:00
Simon Charette 4c5a8c6f50 [2.1.x] Fixed #29755 -- Made migrations detect changes to Meta.default_related_name.
Backport of a4495f4b98 from master
2018-09-14 10:20:27 -04:00
Adam Zapletal 08ce2666da [2.1.x] Fixed typo in docs/ref/contrib/postgres/search.txt.
Backport of 57fd3700d4 from master
2018-09-12 18:12:49 -04:00
Stephen Finucane 9c88826ff9 [2.1.x] Emphasized that TemplatesSetting must be used to override widget templates.
Backport of 25f4302349 from master
2018-09-11 15:15:14 -04:00
Tim Graham 5bbcf83fce [2.1.x] Fixed #29749 -- Made the migrations loader ignore files starting with a tilde or underscore.
Regression in 29150d5da8.
Backport of 32fbccab40 from master
2018-09-11 12:51:24 -04:00
Tim Graham 5cd053600e [2.1.x] Fixed env.note_versionchange() deprecation warning in Sphinx 1.8.
Backport of a0ef6a0e22 from master
2018-09-11 09:27:21 -04:00
Tim Graham 780190f6d9 [2.1.x] Removed usage of deprecated sphinx APIs.
Backport of cc4bb110d3 from master
2018-09-11 09:27:16 -04:00
melipone 24b3aa0275 [2.1.x] Fixed #16995 -- Clarified interaction of initial and extra with model formsets.
Backport of 28dac56aed from master
2018-09-10 15:56:45 -04:00
Curtis Maloney 1853e2dbf2 [2.1.x] Refs #20910 -- Replaced snippet directive with code-block.
Backport of c49ea6f591 from master
2018-09-10 14:38:08 -04:00
Adam Johnson 2b2474b75d [2.1.x] Fixed #29729 -- Updated contributing tutorial to run tests on master.
Backport of f8ff529ee3 from master
2018-09-10 11:17:25 -04:00
Vishvajit Pathak 56dd80e573 [2.1.x] Fixed #29573 -- Added links in aggregation topic guide.
Backport of a48bc0cec9 from master
2018-09-10 09:54:11 -04:00
Alexander Holmbäck bd5ce0599b [2.1.x] Fixed #29727 -- Made nonexistent joins in F() raise FieldError.
Regression in 2162f0983d.

Backport of f315d0423a from master
2018-09-08 09:50:02 -04:00
Alexander Holmbäck ed60ce55c2 [2.1.x] Moved test for nonexistent field in F() to BasicExpressionsTest.
Backport of aa16ec5474 from master
2018-09-08 09:40:53 -04:00
flh 2975ceef6c [2.1.x] Corrected forms.TimeField's default widget in docs.
Backport of ccf870ebf5 from master
2018-09-08 08:56:25 -04:00
James Aylett 231c595bde [2.1.x] Refs #16470 -- Fixed typo in a FileResponse test.
Backport of ee52044a27 from master.
2018-09-01 15:16:07 +02:00
Carlton Gibson d51ca1232e [2.1.x] Added stub release notes for 2.1.2.
Backport of 728ee98cd3 from master
2018-08-31 11:02:10 +02:00
Carlton Gibson 24a0d1b8a3 [2.1.x] Post-release version bump. 2018-08-31 10:57:02 +02:00
Carlton Gibson 497e3942b5 [2.1.x] Bumped version for 2.1.1 release. 2018-08-31 10:17:29 +02:00
Carlton Gibson 3adf649d74 [2.1.x] Added release date for 2.1.1.
Backport of fff25d6d0c from master
2018-08-31 10:13:46 +02:00
Tim Graham 152b1d783b [2.1.x] Fixed #29723 -- Fixed crash if InlineModelAdmin.has_add_permission() doesn't accept the obj argument.
* Refs #27991 -- Added testing for ModelAdmin.get_inline_instances() if the inline's has_add_permission() doesn't accept 'obj'.

* Fixed #29723 -- Fixed crash if InlineModelAdmin.has_add_permission() doesn't accept the obj argument.

Backport of fd8a7a5313 from master
2018-08-30 11:36:04 +02:00
Mariusz Felisiak e7acd99113 [2.1.x] Fixed #29694 -- Fixed column mismatch crash with QuerySet.values() or values_list() after combining querysets with extra() with union(), difference(), or intersection().
Regression in 0b66c3b442.
Backport of 39461a83c3 from master
2018-08-29 10:03:36 +02:00
Tim Graham c4559d0b39 [2.1.x] Fixed #29718 -- Doc'd admin template collision backwards incompatibility in Django 2.1.
Backport of 166dec8406 from master
2018-08-28 14:40:39 -04:00
Claude Paroz a24fc07bbc [2.1.x] Fixed LayerMapping encoding in geodjango tutorial.
GDAL >= 1.9 automatically converts latin-1-encoded strings from Shapefiles to
UTF-8.
Backport of 388165ade4 from master.
2018-08-28 19:01:18 +02:00
Matt Wiens 6cd16037d8 [2.1.x] Fixed typo in docs/ref/models/fields.txt.
Backport of c122a7c53c from master
2018-08-28 07:53:19 -04:00
Jon Dufresne a7e89a5ba7 [2.1.x] Corrected ModelFormMixin.form_invalid() signature in docs.
Backport of 76df4f35c2 from master
2018-08-27 20:52:43 -04:00
Tim Graham aa527e074f [2.1.x] Fixed #29709 -- Updated recommended SQL Server backend to django-pyodbc-azure.
Backport of 7b7fb2eca5 from master
2018-08-25 18:37:21 -04:00
Benjamin Bach fb9c1f4b46 [2.1.x] Fixed #29226 -- Doc'd modify_settings() ordering considerations for Python < 3.6.
Backport of 08f788b169 from master
2018-08-25 10:25:47 -04:00
Rodrigo 22fa9265c1 [2.1.x] Polished the admin overview docs.
Backport of 939dcff24f from master
2018-08-21 11:39:31 -04:00
Tim Graham b7ac1b316b [2.1.x] Fixed typo in docs/releases/2.0.5.txt.
Backport of cdc6da395a from master
2018-08-21 09:48:39 -04:00
Tim Graham 53b9a6654b [2.1.x] Fixed #29682 -- Fixed admin change form crash if a view-only model's form has an extra field.
Backport of d311124be5 from master
2018-08-20 11:15:16 -04:00
Tom Forbes 77498db196 [2.1.x] Fixed #29685 -- Added QuerySet.explain() to the database optimization docs.
Backport of b042ab8976 from master
2018-08-18 09:23:03 -04:00
Jon Dufresne cae84904c6 [2.1.x] Refs #29015 -- Added database name to PostgreSQL database name too long exception.
Backport of bf17f5e884 from master
2018-08-17 12:44:17 -04:00
Jon Dufresne 9c93bf0903 [2.1.x] Fixed #29663 -- Made admin change view redirect to changelist with view permission.
Backport of 09ee3b6fe3 from master
2018-08-17 11:21:17 -04:00
Jon Dufresne 91d281c021 [2.1.x] Added ModelAdmin._response_post_save() to avoid code duplication.
Backport of 57f16655cd from master
2018-08-17 11:04:33 -04:00
Jon Dufresne f5fbff0b4e [2.1.x] Refs #8936 -- Added ModelAdmin.has_view_or_change_permission().
Backport of cd790ed1a6 from master
2018-08-17 11:04:20 -04:00
Jeff 91af869d70 [2.1.x] Fixed #29646 -- Doc'd the validators that each model and form field uses.
Backport of 3fa3de5415 from master
2018-08-16 17:05:10 -04:00
Tim Graham 5628a8a23f [2.1.x] Fixed #29677 -- Doc'd return value of StaticFilesStorage.post_process().
Backport of 7f6b013bf6 from master
2018-08-16 10:39:53 +02:00
Marnanel Thurman ef306338eb [2.1.x] Fixed #29662 -- Allowed test client to accept structured suffix JSON content types.
Backport of 7cc52250f0 from master
2018-08-15 10:28:08 -04:00
Dragoon Aethis c903e905b3 [2.1.x] Refs #29449 -- Removed release note for "Allowed using contrib.auth forms without installing contrib.auth."
The code was reverted in f3fa86a89b.
Backport of d3449faaa9 from master
2018-08-11 22:32:51 -04:00
Ramiro Morales f72a7d8f44 [2.1.x] Fixed #29653 -- Fixed missing related_query_name reverse accessor if GenericRelation is declared on an abstract base model.
Regression in 4ab027b944.

Thanks Lauri Kainulainen for the report.

Backport of b5c7cb4d33 from master
2018-08-10 12:43:27 -04:00
Clément Mangin d7615674d9 [2.1.x] Fixed #29637 -- Fixed admin change form crash if the user doesn’t have the add permission to a TabularInline.
Regression in 825f0beda8.

Backport of 64e1a271f5 from master
2018-08-10 11:32:52 -04:00
Tim Graham 42f194b858 [2.1.x] Refs #29652 -- Fixed typo in docs/releases/2.1.txt.
Backport of d0928d6454 from master
2018-08-08 18:07:40 -04:00