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
Tim Graham
5628a8a23f
[2.1.x] Fixed #29677 -- Doc'd return value of StaticFilesStorage.post_process().
...
Backport of 7f6b013bf60e6168a7e0a8f2b97954c3a45725e0 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 7cc52250f06c2a4769badbab1d7ee01f8e3cb46a 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 f3fa86a89b3b85242f49b2b9acf58b5ea35acc1f.
Backport of d3449faaa915a08c275b35de01e66a7ef6bdb2dc 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 4ab027b94409e6415b774797bf9d3593da9d9ea8.
Thanks Lauri Kainulainen for the report.
Backport of b5c7cb4d3306a7b4e8f87bcf365ff30ae53018ed 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 825f0beda804e48e9197fcf3b0d909f9f548aa47.
Backport of 64e1a271f50d921a54388539b6ff7102a31c3d29 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 d0928d6454d0b649663820e45d915016a2d9b001 from master
2018-08-08 18:07:40 -04:00
Tim Graham
548a2d3c1f
[2.1.x] Fixed #29652 -- Doc'd removal of py-bcrypt compatibility.
...
Backport of 2fa36719a8fb39f2c2162f9e6430db00c6bc8412 from master
2018-08-08 18:02:02 -04:00
Tim Graham
e3be4e94d1
[2.1.x] Fixed #29623 -- Fixed translation failure of DurationField's "overflow" error message.
...
Backport of 730173d1c5cf210d8e3bd951fa49f64b9bc561ca from master
2018-08-08 06:38:27 -04:00
Mariusz Felisiak
2bf766cedc
[2.1.x] Fixed #29643 -- Fixed crash when combining Q objects with __in lookups and lists.
...
Regression in fc6528b25ab1834be1a478b405bf8f7ec5cf860c.
Backport of 9fee229874367beafd532dad6d0f9ff9676ded0b from master
2018-08-08 08:52:55 +02:00
Claude Paroz
d46bf11979
[2.1.x] Refs #29374 -- Moved misplaced line in date format docs table
...
Backport of 93bd860710d9914cc077ee362d5f3647489ce5a5 from master.
2018-08-06 20:19:47 +02:00
Tim Graham
c2b28dfeec
[2.1.x] Consolidated docs about handling a ForeignKey in custom user model manager.
...
Backport of e9ea49d2740b6f99b4ecc424c1a9ed87905e481e from master
2018-08-06 12:42:19 -04:00
Tim Graham
37c0a33655
[2.1.x] Fixed #28540 -- Doc'd a change to file upload permissions in Django 1.11.
...
Behavior changed in f734e2d4b2fc4391a4d097b80357724815c1d414
(refs #27334 ).
Backport of 89d4d412404d31ef34ae3170c0c056eff55b2a17 from master
2018-08-04 11:06:11 -04:00
Carlton Gibson
1e8c68ff47
[2.1.x] Refs #28540 -- Added FILE_UPLOAD_PERMISSIONS to deployment checklist.
...
Backport of ef70af77ec53160d5ffa060c1bdf5ed93322d84f from master
2018-08-04 11:06:04 -04:00
Adam Johnson
4261ba6770
[2.1.x] Clarified the values accepted by ModelAdmin.fields.
...
Backport of 45086c294d63ac8787cebff2accd1680ac844138 from master
2018-08-03 16:50:01 -04:00
Tim Graham
1593a8386a
[2.1.x] Refs #28584 -- Documented removal of support for SQLite < 3.7.15.
...
Backport of 1160a975968f86953a6c4405b772eb86283c5a4a from master
2018-08-03 14:58:38 -04:00
Danilo Bargen
4f9641c9af
[2.1.x] Fixed #29633 -- Doc'd the geometry type for each model field.
...
Backport of 2e06ff8e141d347b6b2991891bbac01fba0396d0 from master
2018-08-03 10:39:25 -04:00
Mariusz Felisiak
c706091225
[2.1.x] Fixed #29613 -- Fixed --keepdb on PostgreSQL if the database exists and the user can't create databases.
...
Regression in e776dd2db677d58dcb50aea20d3bb191537df25b.
Thanks Tim Graham for the review.
Backport of 1a9cbf41a130def83a7e384955544d08be0fc148 from master
2018-08-03 10:33:52 +02:00
Carlton Gibson
a004350193
[2.1.x] Refs #29593 , #26891 -- Doc'd RegisterLookupMixin.get_lookups().
...
Backport of a67ebcb1cbd37e1fc9eddd2da1dda7f319c5ac1d from master
2018-08-03 07:28:21 +02:00
Tim Graham
0cfca0f2cc
[2.1.x] Fixed #29627 -- Fixed QueryDict.urlencode() crash with non-string values.
...
Regression in 7d96f0c49ab750799860e42716d7105e11de44de.
Backport of d8e2be459f97f1773c7edf7d37de180139146176 from master
2018-08-02 21:56:43 -04:00
Carlton Gibson
66c0c58cf2
[2.1.x] Fixed #29593 -- Added QUERY_TERMS removal to 2.1 release notes.
...
Removed in 244cc401559e924355cf943b6b8e66ccf2f6da3a.
Backport of 5180015051f262b73559bb55a8e3fe6f551f8b68 from master
2018-08-02 21:07:44 -04:00
Adam Johnson
2b19d198b1
[2.1.x] Removed out of place sentence in QuerySet.count() docs.
...
Backport of 2e3ba9f5927048655fffa620bbac4f8b048056a4 from master
2018-08-02 17:36:26 -04:00
Michael Sanders
221ef69a9b
[2.1.x] Fixed #29499 -- Fixed race condition in QuerySet.update_or_create().
...
A race condition happened when the object didn't already exist and
another process/thread created the object before update_or_create()
did and then attempted to update the object, also before update_or_create()
saved the object. The update by the other process/thread could be lost.
Backport of 271542dad1686c438f658aa6220982495db09797 from master
2018-08-02 17:17:12 -04:00