1
0
mirror of https://github.com/django/django.git synced 2025-04-09 07:56:43 +00:00

3900 Commits

Author SHA1 Message Date
Jeffrey Yancey
ddd9272c2e [2.1.x] Fixed #29458 -- Doc'd how related_query_name affects Model._meta.get_field().
Backport of 2d6776ffe0b58f729f4372635b49a59da99ca206 from master
2018-06-28 20:02:21 -04:00
Tim Graham
08c3581ca9 [2.1.x] Fixed links for i18n context processor docs.
Backport of fd06488fe36acc27fbe37bf7c9aefc0574e9cc4e from master
2018-06-28 10:26:13 -04:00
Tim Graham
d5482dfe20 [2.1.x] Refs #17419 -- Removed IE8 support in json_script example.
Backport of 02cd16a7a04529c726e5bb5a13d5979119f25c7d from master
2018-06-22 10:35:57 -04:00
Sergey Fedoseev
c1c1ac2044 [2.1.x] Added description, example, and SQL equivalents for equals and same_as GIS lookups.
Backport of 9af83a62e7639567afde8b76ce70e7982873e4c5 from master
2018-06-22 10:18:27 -04:00
Sergey Fedoseev
afcf5aad7c [2.1.x] Refs #28841 -- Added ForcePolygonCW to GIS database functions table.
Backport of 12018cef83b2396131e8c32d997baa0f86b4bf00 from master
2018-06-21 08:59:22 -04:00
Carlton Gibson
67fc680c43 [2.1.x] Fixed #29502 -- Allowed users with the view permission to use autocomplete_fields.
Backport of 5b733171813f8ddc7af84abe79f2646204b9c6ca from master
2018-06-18 15:37:10 -04:00
Carlton Gibson
306f1f8ea3 [2.1.x] Fixed #29419 -- Allowed permissioning of admin actions.
Backport of 958c7b301ead79974db8edd5b9c6588a10a28ae7 from master
2018-06-18 15:37:05 -04:00
Christian Ledermann
d28360aa48 [2.1.x] Refs #29493 -- Doc'd that the QuerySet in lookup accepts a string.
Backport of 11bfe3a83d79c832bd861b6b87f254197fde1659 from master
2018-06-16 15:54:10 -04:00
Mariusz Felisiak
53be30f828 [2.1.x] Added backticks to code literals in docs/ref/databases.txt.
Backport of 4fb7bd834e97195633d44b27aa5e6f981709b626 from master
2018-06-15 21:54:04 -04:00
Carlton Gibson
aea0e2b9ca [2.1.x] Refs #29419, #8936 -- Removed change permission requirement for admin actions.
Partially reverted 825f0beda804e48e9197fcf3b0d909f9f548aa47.

Backport of b30f9b131c9489b9d9f21c311ecb46d0aea91381 from master
2018-06-13 14:53:25 -04:00
nikolas
422a403565 [2.1.x] Doc'd how to set SPATIALITE_LIBRARY_PATH for Debian Buster/Ubuntu 18.04. 2018-06-13 10:05:03 -04:00
Brylie Christopher Oxley
4330d1047a [2.1.x] Updated GIS install instructions to use placeholders for GIS library versions.
Backport of ae26e0ad2c5ee2216d8eaaaac9d7c2c7644b6ebb from master
2018-06-12 15:22:38 -04:00
Claude Paroz
020c51d501 [2.1.x] Prevented unexpected link in settings docs
Backport of e8531cc89c878b6a8867498dab266917fef2bff4 from master.
2018-06-10 15:12:44 +02:00
Jeremy Lainé
36c35aba09 [2.1.x] Fixed #29440 -- Doc'd where the bulk argument applies in RelatedManager.
Backport of 741792961815cf4a95c5ce8ab590dfc7700c6153 from master
2018-06-08 16:40:44 -04:00
Brenton Cleeland
3ff605b54b [2.1.x] Fixed #29374 -- Ordered date filter's format strings by category.
Backport of 3cf45af3630890ad85112f9ea8af869c8daef17b from master
2018-06-04 09:38:08 -04:00
Tim Graham
67665e0979 [2.1.x] Fixed #29460 -- Added support for GEOS 3.6.
Backport of f185d929fa1c0caad8c03fccde899b647d7248c6 from master
2018-05-31 11:36:16 -04:00
Osaetin Daniel
158e7804e7 [2.1.x] Fixed docs typo in HttpResponse.set_signed_cookie() signature.
Backport of cd242d185bda9269913d4d101a7f704204ec907d from master
2018-05-27 16:50:47 -04:00
Daniel Hepper
4302911386 [2.1.x] Removed docs for obsolete ExceptionMiddleware.
Backport of a6fb5b1fe022c5279aa275c70b5193f2a2fac5fe from master
2018-05-27 13:23:29 -04:00
Tim Graham
483f5d6c4f [2.1.x] Reverted "Fixed #29324 -- Made Settings raise ImproperlyConfigured if SECRET_KEY is accessed and not set."
This reverts commit b3cffde5559c4fa97625512d7ec41a674be26076 due to
a regression and performance concerns.

Backport of 5cc81cd9eb69f5f7a711412c02039b435c393135 from master
2018-05-26 21:07:19 -04:00
Srinivas Reddy Thatiparthy
ecb825abe2 [2.1.x] Fixed #29423 -- Documented Field.value_from_object().
Backport of 4c35a173e881deaff17e5343181dcbc36177a4af from master
2018-05-25 21:32:27 -04:00
Claude Paroz
3cca2ab2e7 [2.1.x] Documented DeletionMixin.delete().
Backport of 96ea4f875b289aef3372caf7851dabf64347ce8c from master
2018-05-24 21:46:35 -04:00
Tim Graham
452abf7b43 [2.1.x] Fixed #29398 -- Doc'd that cascade deletion doesn't call delete() of related models.
Backport of e038f98bf342af716cf16e38be989c2d0f126797 from master
2018-05-18 18:44:36 -04:00
olivierdalang
825f0beda8 Fixed #8936 -- Added a view permission and a read-only admin.
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz>
Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
2018-05-16 06:44:55 -04:00
Claude Paroz
a177f854c3
Fixed #16470 -- Allowed FileResponse to auto-set some Content headers.
Thanks Simon Charette, Jon Dufresne, and Tim Graham for the reviews.
2018-05-15 18:12:11 +02:00
T N
2405833c53 Fixed #29401 -- Updated admin's jQuery to 3.3.1. 2018-05-13 13:02:24 -04:00
Mariusz Felisiak
35319bf12c
Alphabetized imports in various docs.
Follow-up of d97cce34096043b019e818a7fb98c0f9f073704c and 7d3fe36c626a3268413eb86d37920f132eb4a54f.
2018-05-12 19:37:42 +02:00
Hasan Ramezani
7d3fe36c62 Alphabetized imports in docs/ref/contrib/postgres/fields.txt. 2018-05-07 07:46:29 -04:00
Carlton Gibson
21fd8041c1
Refs #29358 -- Corrected wording in primary key check message. 2018-05-03 15:28:37 +02:00
Hasan Ramezani
816b8d9518 Fixed #29358 -- Added a system check to prohibit models with more than one primary_key field. 2018-05-03 09:08:29 +02:00
Kelly Hogan
9e86185936 Fixed #29351 -- Doc'd that ModelAdmin.prepopulated_fields removes stop words. 2018-05-02 13:15:39 -04:00
CHI Cheng
4660ce5a69 Fixed #29375 -- Removed empty action attribute on HTML forms. 2018-05-02 09:20:04 -04:00
drd0013
5d923f2d8c Fixed #29313 -- Doc'd how to use F() to sort null values. 2018-04-19 20:07:40 -04:00
Tom
c1c163b427 Fixed #28574 -- Added QuerySet.explain(). 2018-04-19 10:52:19 -04:00
Brett Cannon
64b74804c5 Fixed #29334 -- Updated pypi.python.org URLs to pypi.org. 2018-04-17 20:24:27 -04:00
Jon Dufresne
b3cffde555 Fixed #29324 -- Made Settings raise ImproperlyConfigured if SECRET_KEY is accessed and not set. 2018-04-17 13:02:05 -04:00
Alex Gaynor
9a56b4b13e Fixed #27863 -- Added support for the SameSite cookie flag.
Thanks Alex Gaynor for contributing to the patch.
2018-04-13 20:58:31 -04:00
Jon Dufresne
be6ca89396 Fixed #27991 -- Added obj arg to InlineModelAdmin.has_add_permission().
Thanks Vladimir Ivanov for the initial patch.
2018-04-04 19:21:50 -04:00
Jon Dufresne
b31a9149e1 Documented InlineModelAdmin.has_(add/change/delete)_permission(). 2018-04-04 14:32:35 -04:00
Dmitry Dygalo
c979c0a2b8 Fixed #25718 -- Made a JSONField lookup value of None match keys that have a null value. 2018-04-04 10:53:46 -04:00
Windson yang
4fe5d84666 Fixed #29278 -- Doc'd that a context manager can't be used with FileResponse. 2018-04-04 09:56:49 -04:00
Daniel Roseman
e6c21217d3 Fixed reference to nonexistent __between lookup. 2018-04-04 09:43:36 -04:00
Mariusz Felisiak
55cc26941a
Refs #28643 -- Added Repeat database function.
Thanks Tim Graham and Nick Pope for reviews.
2018-04-03 19:36:12 +02:00
Quentin Agren
34c5222837 Fixed #29148 -- Doc'd how to use get_or_create() with Q objects. 2018-03-28 10:46:34 -04:00
AK
3990d74018 Added a pagination example to ListView docs. 2018-03-26 11:40:54 -04:00
Graham Ullrich
ee7f51c66d Fixed #29250 -- Added 'django_version' context to startapp/project docs. 2018-03-22 21:06:50 -04:00
Tim Graham
a4f0e9aec7 Fixed #28718 -- Allowed user to request a password reset if their password doesn't use an enabled hasher.
Regression in aeb1389442d0f9669edf6660b747fd10693b63a7.
Reverted changes to is_password_usable() from
703c266682be39f7153498ad0d8031231f12ee79 and documentation changes from
92f48680dbd2e02f2b33f6ad0e35b7d337889fb2.
2018-03-22 10:03:43 -04:00
Alasdair Nicol
0c100f8b57 Clarified docs about ISO 8601 week numbering. 2018-03-21 20:00:39 -04:00
Jezeniel Zapanta
abe6c5defe Fixed #28514 -- Clarifed docs about idempotence of RelatedManager.add(). 2018-03-20 21:09:08 -04:00
Tim Graham
5fa4f40f45 Fixed #29227 -- Allowed BooleanField to be null=True.
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
2018-03-20 12:10:10 -04:00
Mariusz Felisiak
cede5111bb
Refs #28643 -- Added LPad and RPad database functions.
Thanks Tim Graham for the review.
2018-03-19 17:35:16 +01:00