1
0
mirror of https://github.com/django/django.git synced 2025-04-05 05:56:42 +00:00

25906 Commits

Author SHA1 Message Date
Claude Paroz
d5ed08263b [2.1.x] Updated translations from Transifex 2018-09-29 16:03:27 +02:00
Claude Paroz
7b444bf5f7 [2.1.x] Refs #21408 -- Updated naturaltime translation test.
Upcoming German translations will not differ for past and future naturaltime
translations. Using Czech language instead.
Backport of ddcb9e806275114c91bbed90bc917374ba08a9ae from master
2018-09-29 15:07:09 +02:00
Jon Dufresne
a6e7ebf4ee [2.1.x] Added test of filtering on BinaryField and corrected docs.
Backport of fb2964a4106b1282c4179b6fbbd0374f5be1ccac from master.
2018-09-26 15:07:06 -04:00
Stephen James
f5335bc745 [2.1.x] Fixed #29683 -- Added view permission to docs.
Backport of e40e7026cad400d720963aea0ba156a19f83b058 from master.
2018-09-26 15:06:57 -04:00
Mariusz Felisiak
5aeced6dcd
[2.1.x] Fixed #29630 -- Fixed crash of sliced queries with multiple columns with the same name on Oracle 12.1.
Regression in 0899d583bdb140910698d00d17f5f1abc8774b07.

Thanks Tim Graham for the review and Jani Tiainen for help.
Backport of 024abe5b82d95ee60cb18a77ebf841ad715467fa from master
2018-09-26 20:24:20 +02:00
Sergey Fedoseev
5082108559 [2.1.x] Fixed #29795 -- Confirmed support for PostGIS 2.5.
Backport of 51da347c32f5af1e8de4be77c15d6a35b58d4059 from master.
2018-09-26 13:37:12 -04:00
Mariusz Felisiak
1f8a5d4fac [2.1.x] Made DatabaseWrapper.oracle_version() return a full version tuple.
Backport of 90d93a1b425c0e6e3d88afa9fff78790300e1e38 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 3b429c96736b8328c40e5d77282b0d30de563c3c.
Backport of d1d5c97bc2821bf8c0f4b2d9c7ab16200845b494 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 ad9a28ee38e3352b16cc6c9ae7f55f90c64710cc 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 3a3d159ab66c32dbf7331676267a04afa20857d0 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 c99d379f534817edccbe8b23a235e11781508590 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 0192e9a976ea7018220ec607de63a641323404b1 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 beffa061eb8168105f265f0064d20d31165178b5 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 583b9fc4101e5930c39f49d664d41a1596ba78f4 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 da92ec79621fc0bba671d8afa52b7f6884962fe5 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 a4495f4b989dc919d80fcf9f38e31e247faa94fb 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 57fd3700d4f5a7887ad3967fe19b61bc9f25b2f3 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 25f4302349db71d73a15ff8f3872956fc21a0f84 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 29150d5da880ac1db15e47052330790cf1b802d2.
Backport of 32fbccab406b680bc0a0a8d39a9b95c3a08bbc5a 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 a0ef6a0e22038a36c3646ea96f61fdc6d7ab7e5c from master
2018-09-11 09:27:21 -04:00
Tim Graham
780190f6d9 [2.1.x] Removed usage of deprecated sphinx APIs.
Backport of cc4bb110d31f18d2931fd79d792d3ac09cce19e5 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 28dac56aed1c8c9923b52a1ac3606996f9820b30 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 c49ea6f5911296dcb40190c905e38b43cdc7c7a3 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 f8ff529ee32c79b270176f5e8d7a3f6ef048ac31 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 a48bc0cec9eaaf47c0b3de186c072cf00011c892 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 2162f0983de0dfe2178531638ce7ea56f54dd4e7.

Backport of f315d0423a09dfe20dd4d4f6a0eb11fc8e45a665 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 aa16ec54747eaa9da7534e67a1de320b9a517c1c 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 ccf870ebf5a9f9b44711a08549833f97ef3f7a41 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 ee52044a278885bd9455dd59b1e16c5d5e2d68ce 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 728ee98cd39df4a1d0e209c81f36dd6852b2a3a5 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. 2.1.1 2018-08-31 10:17:29 +02:00
Carlton Gibson
3adf649d74 [2.1.x] Added release date for 2.1.1.
Backport of fff25d6d0cf7e76e35230a1aa1a76402e1da369a 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 fd8a7a5313f5e223212085b2e470e43c0047e066 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 0b66c3b442875627fa6daef4ac1e90900d74290b.
Backport of 39461a83c33f0cfe719d3b139413d1f5d1e75d5e 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 166dec84069c15ecb2bc3a5590f872febdc4709c 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 388165ade4219aeefac1e231c1d44c51a7b62829 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 c122a7c53cf870e61353afa73e59f28226a5c48d 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 76df4f35c2d732f7996aa6b8d816424c52ee0cc1 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 7b7fb2eca51dacb5002a4e6b6e1417b36bd5dfd7 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 08f788b169a30d26f50433083aca253a4e4031b2 from master
2018-08-25 10:25:47 -04:00
Rodrigo
22fa9265c1 [2.1.x] Polished the admin overview docs.
Backport of 939dcff24f8e97d114595b102fb12348da482135 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 cdc6da395aa602d772bd376513121fb2b674bda1 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 d311124be59df64278f3149d68e79ce45b8a6c64 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 b042ab897636987701d3a35d6b566c6bef9d6ea2 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 bf17f5e88466e3f571065345f5b2fea0d8af89fe 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 09ee3b6fe3c4d80bb445835f88148d6f48cde3ff 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 57f16655cd5031ef04bf5e310c9e1d31eff912ce 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 cd790ed1a6dbdf910c41da44c306ddae6ea6fd4d 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 3fa3de54152a6b7a67de05ff4ff6fb122c9246e2 from master
2018-08-16 17:05:10 -04:00