Simon Willison
586a9dc429
Fixed #26352 -- Made system check allow ManyToManyField to target the same model if through_fields differs.
2018-08-22 12:07:29 -04:00
Claude Paroz
201017df30
Fixed #29654 -- Made text truncation an ellipsis character instead of three dots.
...
Thanks Sudhanshu Mishra for the initial patch and Tim Graham for the review.
2018-08-21 17:46:45 +02:00
Rodrigo
939dcff24f
Polished the admin overview docs.
2018-08-21 11:35:50 -04:00
Rodrigo
371ece2f06
Fixed #29695 -- Added system checks for admin's app dependencies and TEMPLATES setting.
2018-08-20 17:57:46 -04:00
Sigurd Ljødal
3e09b37f80
Fixed #28649 -- Added ExtractIsoYear database function and iso_year lookup.
2018-08-18 13:09:15 -04:00
Jeff
3fa3de5415
Fixed #29646 -- Doc'd the validators that each model and form field uses.
2018-08-16 17:03:28 -04:00
Tim Graham
7f6b013bf6
Fixed #29677 -- Doc'd return value of StaticFilesStorage.post_process().
2018-08-16 10:37:33 +02:00
Josh Schneier
53e8570522
Fixed typo in docs/ref/templates/api.txt.
2018-08-06 20:15:22 -04:00
Vlastimil Zíma
a9f5652113
Fixed #28529 -- Fixed VariableDoesNotExist warnings in admin templates.
2018-08-06 17:03:06 -04:00
Claude Paroz
93bd860710
Refs #29374 -- Moved misplaced line in date format docs table
2018-08-06 20:17:00 +02:00
Tom
f1fbef6cd1
Fixed #28668 -- Allowed QuerySet.bulk_create() to ignore insert conflicts.
2018-08-03 17:40:46 -04:00
Adam Johnson
45086c294d
Clarified the values accepted by ModelAdmin.fields.
2018-08-03 16:12:26 -04:00
Calvin DeBoer
058d33f3ed
Fixed #29198 -- Added migrate --plan option.
2018-08-03 15:22:42 -04:00
Tim Graham
1160a97596
Refs #28584 -- Documented removal of support for SQLite < 3.7.15.
2018-08-03 14:42:26 -04:00
Danilo Bargen
2e06ff8e14
Fixed #29633 -- Doc'd the geometry type for each model field.
2018-08-03 10:22:11 -04:00
Adam Johnson
2e3ba9f592
Removed out of place sentence in QuerySet.count() docs.
2018-08-02 17:36:02 -04:00
Nick Pope
6b4d1ec8ff
Fixed #29614 -- Added BTreeIndex to django.contrib.postres.
2018-08-02 11:42:57 -04:00
Nick Pope
d6381d3559
Fixed #28990 -- Added autosummarize parameter to BrinIndex.
2018-08-02 11:26:58 -04:00
Nick Pope
4c36e9e492
Fixed #28887 -- Added SpGistIndex to django.contrib.postgres.
2018-08-02 11:08:08 -04:00
Nick Pope
d526b07784
Fixed #26974 -- Added HashIndex to django.contrib.postgres.
...
Thanks Akshesh Doshi for the initial implementation.
2018-08-02 10:39:18 -04:00
luz.paz
97e637a87f
Fixed typos in comments and docs.
2018-08-01 16:09:22 -04:00
Adam Johnson
49f97b645f
Refs #24733 -- Documented arguments for custom error views.
2018-07-31 17:02:40 -04:00
Tom Forbes
4198445afc
Refs #29548 -- Fixed failing window tests on MariaDB 10.3.
2018-07-30 19:54:56 -04:00
Carlton Gibson
a67ebcb1cb
Refs #29593 , #26891 -- Doc'd RegisterLookupMixin.get_lookups().
2018-07-26 10:42:33 -04:00
Andrew Brown
c0e3c65b9d
Fixed #29563 -- Added result streaming for QuerySet.iterator() on SQLite.
2018-07-25 18:08:57 -04:00
Claude Paroz
1ed8527e3d
Fixed utils.html.escape()'s docs with regards to string coercion.
...
As of 301de774c2
.
2018-07-18 14:15:42 -04:00
Claude Paroz
6e78e10549
Added doc links for django.utils.html.escape().
2018-07-18 11:32:27 -04:00
Maxime Lorant
31407fa3b3
Removed duplicate words in docs.
...
.
2018-07-18 11:24:06 -04:00
Daniel Wiesmann
8f75d21a2e
Fixed #28566 -- Added path matching to collectstatic ignore patterns.
2018-07-13 16:48:19 -04:00
Ian Foote
952f05a6db
Fixed #11964 -- Added support for database check constraints.
2018-07-10 15:32:33 -04:00
Sergey Fedoseev
338f741c5e
Fixed #29546 -- Deprecated django.utils.timezone.FixedOffset.
2018-07-09 16:33:36 -04:00
Tim Graham
8b1d361f28
Fixed #29549 -- Doc'd that Field.choices are enforced by model validation.
2018-07-09 15:06:36 -04:00
Sergey Fedoseev
09199734d3
Refs #29478 -- Doc'd how to use cached_property with a mangled name.
2018-07-09 12:13:31 -04:00
Josh Schneier
38e904e265
Fixed word choice in ContentFile example.
2018-07-07 17:20:02 -04:00
Sergey Fedoseev
82b9708c6f
Corrected cached_property() signature in docs.
2018-07-06 08:56:13 -04:00
Mads Jensen
ab251fdad2
Refs #26608 -- Removed incorrect sentence in Expression.contains_over_clause docs.
2018-07-05 11:12:08 -04:00
Junyi Jiao
a0b19a0f5b
Refs #28643 -- Added math database functions.
...
Thanks Nick Pope for much review.
2018-07-05 11:02:12 -04:00
Stephen James
48aeca44d8
Fixed typo in docs/ref/templates/builtins.txt.
2018-07-04 13:15:35 -04:00
Greg Kaleka
17403f0a9b
Doc'd that template variables & attributes may not start with an underscore.
2018-07-03 20:16:52 -04:00
sedrubal
f903669dfd
Fixed argument name for validators inheriting from BaseValidator.
2018-06-30 18:58:35 -04:00
Colm O'Connor
c530428d36
Fixed #21333 -- Doc'd the & and | queryset operators.
2018-06-29 20:39:18 -04:00
Ian Foote
38cada7c94
Fixed #28077 -- Added support for PostgreSQL opclasses in Index.
...
Thanks Vinay Karanam for the initial patch.
2018-06-29 17:00:28 -04:00
Floris den Hengst
96199e562d
Fixed #26067 -- Added ordering support to ArrayAgg and StringAgg.
2018-06-28 20:29:33 -04:00
Jeffrey Yancey
2d6776ffe0
Fixed #29458 -- Doc'd how related_query_name affects Model._meta.get_field().
2018-06-28 19:35:01 -04:00
Tim Graham
fd06488fe3
Fixed links for i18n context processor docs.
2018-06-28 10:25:46 -04:00
Tim Graham
dd367e0dae
Refs #12663 -- Removed Meta API upgrade guide.
2018-06-27 14:02:46 -04:00
Tim Graham
02cd16a7a0
Refs #17419 -- Removed IE8 support in json_script example.
2018-06-22 10:19:50 -04:00
Sergey Fedoseev
9af83a62e7
Added description, example, and SQL equivalents for equals and same_as GIS lookups.
2018-06-22 09:54:41 -04:00
Sergey Fedoseev
a799dc51b9
Fixed #29509 -- Added SpatiaLite support for covers and coveredby lookups.
2018-06-21 09:25:31 -04:00
Sergey Fedoseev
12018cef83
Refs #28841 -- Added ForcePolygonCW to GIS database functions table.
2018-06-21 08:54:13 -04:00
Sergey Fedoseev
fa453b03a6
Fixed #29507 -- Added Oracle support for Envelope GIS function.
2018-06-20 16:48:57 +05:00
Carlton Gibson
5b73317181
Fixed #29502 -- Allowed users with the view permission to use autocomplete_fields.
2018-06-18 15:36:20 -04:00
Carlton Gibson
958c7b301e
Fixed #29419 -- Allowed permissioning of admin actions.
2018-06-18 15:07:29 -04:00
Christian Ledermann
11bfe3a83d
Refs #29493 -- Doc'd that the QuerySet in lookup accepts a string.
2018-06-16 15:53:54 -04:00
Mariusz Felisiak
4fb7bd834e
Added backticks to code literals in docs/ref/databases.txt.
2018-06-15 21:31:55 -04:00
Carlton Gibson
b30f9b131c
Refs #29419 , #8936 -- Removed change permission requirement for admin actions.
...
Partially reverted 825f0beda8
.
2018-06-13 14:49:28 -04:00
Brylie Christopher Oxley
ae26e0ad2c
Updated GIS install instructions to use placeholders for GIS library versions.
2018-06-12 15:22:05 -04:00
Tim Graham
9e4f26bb40
Fixed #29483 -- Confirmed support for GDAL 2.3.
2018-06-12 13:34:58 -04:00
Tim Graham
860903b261
Dropped support for GDAL 1.9 and 1.10.
2018-06-11 08:33:09 -04:00
Claude Paroz
e8531cc89c
Prevented unexpected link in settings docs
2018-06-10 15:11:39 +02:00
Claude Paroz
f3836144db
Fixed #29484 -- Removed the need to specify SPATIALITE_LIBRARY_PATH with Spatialite 4.2+.
...
Thanks Tim Graham for the review.
2018-06-09 09:24:20 +02:00
Jeremy Lainé
7417929618
Fixed #29440 -- Doc'd where the bulk argument applies in RelatedManager.
2018-06-08 14:36:17 -04:00
Brenton Cleeland
3cf45af363
Fixed #29374 -- Ordered date filter's format strings by category.
2018-06-04 09:37:42 -04:00
humbertotm
747ff7a30b
Fixed #29385 -- Made admindocs ModelDetailView show model properties.
...
Original patch by bkaluza. Tests and docs by humbertotm.
2018-06-03 21:00:28 -04:00
Tim Graham
f185d929fa
Fixed #29460 -- Added support for GEOS 3.6.
2018-05-31 11:35:59 -04:00
Osaetin Daniel
cd242d185b
Fixed docs typo in HttpResponse.set_signed_cookie() signature.
2018-05-27 16:50:30 -04:00
Daniel Hepper
a6fb5b1fe0
Remove documenation for non-existent middleware ( #9998 )
...
The docs contained a reference to the class
django.middleware.exception.ExceptionMiddleware. This class was introduced in
05c888ffb8
. It was removed in 7d1b69dbe7
, but the documentation remained.
2018-05-27 16:08:50 +02:00
Tim Graham
5cc81cd9eb
Reverted "Fixed #29324 -- Made Settings raise ImproperlyConfigured if SECRET_KEY is accessed and not set."
...
This reverts commit b3cffde555
due to
a regression and performance concerns.
2018-05-26 21:06:58 -04:00
Srinivas Reddy Thatiparthy
4c35a173e8
Fixed #29423 -- Documented Field.value_from_object().
2018-05-25 15:10:45 -04:00
Claude Paroz
738a0a4dc2
Mentioned SuccessMessageMixin in generic editing views docs.
2018-05-25 14:31:11 -04:00
Claude Paroz
96ea4f875b
Documented DeletionMixin.delete().
2018-05-24 21:25:24 -04:00
Tim Graham
e038f98bf3
Fixed #29398 -- Doc'd that cascade deletion doesn't call delete() of related models.
2018-05-18 18:08:37 -04:00
Tim Graham
7543ab1f8d
Removed versionadded/changed annotations for 2.0.
2018-05-17 11:00:10 -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 d97cce3409
and 7d3fe36c62
.
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 aeb1389442
.
Reverted changes to is_password_usable() from
703c266682
and documentation changes from
92f48680db
.
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
Mariusz Felisiak
9421aee35e
Refs #28643 -- Added LTrim, RTrim, and Trim database functions.
...
Thanks Tim Graham and Mads Jensen for reviews.
2018-03-15 20:57:23 +01:00
Daniel Musketa
e0eab28f9f
Fixed a couple mistakes in docs/ref/forms/widgets.txt.
2018-03-12 09:39:09 -04:00
Fabrizio Ettore Messina
10c0fe528a
Fixed #29178 -- Allowed Index.fields to accept a tuple.
2018-03-08 10:56:55 -05:00
Richard Oyudo
8411e4a8fe
Fixed #28655 -- Added more examples for customizing widgets in a form.
2018-03-07 16:58:55 -05:00
Tim Graham
4c02e3cda3
Refs #27728 -- Made cosmetic edits to admin template tag template overriding.
2018-03-01 11:45:08 -05:00
Raffaele Salmaso
5cc28dc752
Fixed #27728 -- Allowed overriding admin templatetags templates.
2018-02-28 08:49:40 +01:00
Tim Graham
5b589a47b9
Fixed #29161 -- Removed BCryptPasswordHasher from PASSWORD_HASHERS.
2018-02-26 09:05:18 -05:00
Becky Smith
8116e588db
Fixed #17962 -- Added ModelAdmin.get_deleted_objects().
2018-02-24 20:41:43 -05:00
Sebastian Sangervasi
7905815510
Fixed #27449 -- Added django.utils.translation.get_supported_language_variant().
2018-02-23 14:49:00 -05:00
bobort
f82de6bfb1
Refs #28643 -- Added Ord, Chr, Left, and Right database functions.
2018-02-23 10:23:22 -05:00
Jon Dufresne
f5c6fc045a
Added backticks around obj argument in admin docs.
2018-02-22 11:15:04 -05:00
Tim Graham
548f78ba46
Removed redundant lookup name in register_lookup() calls.
2018-02-19 13:12:13 -05:00
Andreas Pelme
e307ff29d2
Fixed #27810 -- Allowed query expressions in admin_order_field.
2018-02-15 21:00:31 -05:00
Tim Graham
e917ea6bec
Fixed #29126 -- Doc'd the behavior of QuerySet.update_or_create() with manually specified pks.
2018-02-15 13:17:37 -05:00
Carlton Gibson
43b148f41f
Fixed #24270 -- Doc'd that django_bash_completion is only in the source distribution.
2018-02-12 09:42:56 -05:00
Tim Graham
d63c00a428
Corrected doc'd type of some parameters from string to str.
2018-02-12 09:16:57 -05:00
Stanislav Karpov
6d794fb762
Fixed #28960 -- Added GEOSGeometry.buffer_with_style().
2018-02-10 19:45:58 -05:00
Matthew Wilkes
2162f0983d
Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields).
2018-02-10 19:08:55 -05:00
Sergey Fedoseev
01bfa9219b
Fixed typo in bulk_create() documentation.
2018-02-08 10:33:45 +01:00
Jonas Haag
8c709d79cb
Fixed #17419 -- Added json_tag template filter.
2018-02-07 18:38:12 -05:00
Alexander Gaevsky
ef2512b2ff
Fixed #25790 -- Allowed disable column sorting in the admin changelist.
...
Thanks Ramiro Morales for completing the patch.
2018-02-07 17:46:28 -05:00
Raffaele Salmaso
da3df5b878
Fixed #8500 -- Allowed overriding the default admin site instance.
2018-02-03 18:51:10 -05:00
Rodrigo
4fe0e619e7
Disambiguated "settings" in SpatiaLite note.
2018-01-31 12:20:24 -05:00
Rodrigo
9817add9e0
Doc'd specifying the ENGINE setting as part of configuring contrib.gis.
2018-01-31 12:09:26 -05:00
Rodrigo
7c5cf33127
Fixed location of spatialite_source label.
2018-01-31 11:27:55 -05:00
priyanshsaxena
617d5f410f
Fixed #29066 -- Allowed negating query expressions.
2018-01-31 10:54:19 -05:00
Jon Dufresne
136bf5c214
Fixed #29076 -- Made Model.refresh_from_db() clear cached relationships even if the related id doesn't change.
2018-01-30 10:43:53 -05:00
Tim Graham
e6f0e324e2
Fixed #29081 -- Clarified comments in QuerySet.select_related() example.
2018-01-29 11:11:43 -05:00
bquinn
c2b969e124
Fixed #29004 -- Added inspectdb --include-views option.
2018-01-27 18:51:40 -05:00
Tim Graham
92f48680db
Expanded docs for AbstractBaseUser.has_usable_password().
2018-01-27 11:03:41 -05:00
Sigurd Ljødal
a455e732a0
Fixed #28650 -- Added TruncWeek database function.
2018-01-27 09:59:13 -05:00
Tim Graham
f229049d6c
Fixed #29055 -- Doc'd that escapejs doesn't make template literals safe.
2018-01-27 09:40:55 -05:00
Senthil
cbac11f962
Fixed #28784 -- Clarified how migrate --fake works.
2018-01-24 14:56:40 -05:00
Ashaba
95fd5cf459
Fixed #28403 -- Added missing formats in FORMAT_MODULE_PATH docs.
2018-01-24 13:38:15 -05:00
Tim Graham
2870879981
Fixed heading level typo in docs/ref/models/database-functions.txt.
2018-01-23 19:48:57 -05:00
Tim Graham
f0f383b635
Fixed "template tag" spelling in docs.
2018-01-23 09:40:18 -05:00
Jon Dufresne
ff05de760c
Fixed #29038 -- Removed closing slash from HTML void tags.
2018-01-21 02:09:10 -05:00
Ramiro Morales
37c17846ad
Fixed #28343 -- Add an OS chooser for docs command line examples.
2018-01-20 12:38:48 -05:00
Jon Dufresne
47d238b696
Fixed #29041 -- Changed SelectMultiple's multiple attribute to HTML5 boolean syntax.
2018-01-20 11:19:06 -05:00
Chris Jerdonek
b98dc1706e
Refs #25604 -- Removed docs for makemigrations --exit.
...
Follow up to e0910dcc92
.
2018-01-20 10:44:09 -05:00
Mariusz Felisiak
7fbb1bd00d
Fixed #29032 -- Fixed an example of using expressions in QuerySet.values().
2018-01-19 08:55:29 +01:00
Jon Dufresne
90ca9412e4
Removed unnecessary microsecond truncation in SplitDateTimeWidget.
...
The microseconds are already truncated by the TimeInput subwidget.
2018-01-18 11:23:06 -05:00
Mads Jensen
65728550bd
Refs #28643 -- Added Replace database function.
2018-01-17 20:46:15 -05:00
Botond Béres
52aa26e697
Fixed #28231 -- Doc'd that QuerySet.bulk_create() casts objs to a list.
2018-01-12 19:56:16 -05:00
Дилян Палаузов
a38ae914d8
Fixed #28996 -- Simplified some boolean constructs and removed trivial continue statements.
2018-01-12 12:44:50 -05:00
Tim Graham
7c00f9fb1c
Fixed #29002 -- Corrected cached template loader docs about when it's automatically enabled.
...
Thanks oTree-org for the suggestion.
2018-01-11 06:48:29 -05:00
Mariusz Felisiak
7c81b28ebc
Updated various links in docs to use HTTPS.
2018-01-07 14:28:41 +01:00
Sergey Fedoseev
762bd34c36
Fixed #28842 -- Added SpatiaLite support for ForcePolygonCW function.
2018-01-06 19:24:44 -05:00
Vasilis Aggelou
777f216d55
Fixed #15522 -- Added ModelAdmin.delete_queryset() to customize "delete selected objects" deletion.
2018-01-05 18:28:45 -05:00
Tim Graham
5d5a2bd299
Confirmed support for PostGIS 2.4.
2018-01-04 17:27:14 -05:00
shanghui
cc6bcc6ff5
Fixed #28867 -- Added system check for a model property that clashes with a related field accessor.
2018-01-03 10:34:31 -05:00
Tim Graham
ab7f4c3306
Refs #28965 -- Deprecated unused django.utils.http.cookie_date().
2018-01-02 11:23:04 -05:00
Mariusz Felisiak
83a36ac49a
Removed unnecessary trailing commas and spaces in various code.
2017-12-28 21:07:29 +01:00
Sergey Fedoseev
47aba5ed1f
Linked GIS functions docs to corresponding MySQL docs.
2017-12-28 14:21:19 +05:00
Sergey Fedoseev
aefe624c62
Fixed #28841 -- Added ForcePolygonCW GIS function and deprecated ForceRHR.
2017-12-27 19:26:14 -05:00
hui shang
f1aa58479c
Fixed #28714 -- Added system checks for invalid model field names in Meta.indexes.
...
Thanks Gabriel for the report and Adam Johnson for the review.
2017-12-27 18:56:24 -05:00
Tim Graham
6deaddcca3
Fixed #28956 -- Updated admin's jQuery to 3.2.1.
2017-12-26 10:21:05 -05:00
Cameron Curry
622ead6aaf
Fixed #28937 -- Allowed BinaryField to be editable=True.
2017-12-22 16:31:46 -05:00
Berker Peksag
ad9390bba2
Updated documented mysqlclient requirement to 1.3.7.
...
The test requirement was bumped in
2514e044a7
.
2017-12-21 19:13:12 -05:00
Sergey Fedoseev
a7a36bb4d8
Refs #25181 -- Updated timezone.now() docs about obtaining the time in the current time zone.
2017-12-20 10:44:14 -05:00
M Somerville
16bd4964df
Fixed #28891 -- Documented Origin's loader attribute.
2017-12-07 12:19:58 -05:00
Sam Collins
2d75e74e18
Fixed typo in docs/ref/contrib/admin/index.txt.
2017-12-07 10:52:46 -05:00
Mohammad Esmaeilbeygi
9d1d0e2b70
Fixed import in docs/ref/models/conditional-expressions.txt example.
2017-12-07 08:57:38 -05:00
Igor Starikov
3cc08f4b2b
Fixed typo in docs/ref/models/expressions.txt.
2017-12-05 08:39:57 -05:00
Frédéric Massart
a5f1e5809f
Clarified who the AdminEmailHandler emails.
2017-11-21 11:49:15 -05:00
Krzysztof Nazarewski
244cc40155
Fixed #26184 -- Allowed using any lookups in ModelAdmin.search_fields.
...
Thanks Krzysztof Nazarewski for the initial patch.
2017-11-18 19:33:52 -05:00
Benjamin Bach
bf49d9eb0b
Fixed #28815 -- Fixed ExtractYear imports in docs/ref/models/expressions.txt.
2017-11-17 17:30:21 -05:00
Tim Graham
bc95314ca6
Fixed #28786 -- Doc'd middleware ordering considerations due to CommonMiddleware setting Content-Length.
2017-11-14 12:01:24 -05:00
Mariusz Felisiak
2d3cc94284
Fixed #28781 -- Added QuerySet.values()/values_list() support for union(), difference(), and intersection().
...
Thanks Tim Graham for the review.
2017-11-12 14:28:11 +01:00
Tim Graham
8f8a4d10d3
Refs #26447 -- Removed outdated ETag comment in CommonMiddleware.
...
Follow up to 48d57788ee
.
2017-11-11 20:45:17 -05:00
Tim Graham
abaf0ab4a4
Fixed #28777 -- Clarified the docs for admin.register's args.
2017-11-09 21:21:43 -05:00
Jonas Haag
a2851f204c
Fixed #28720 -- Added HttpRequest.get_full_path_info().
2017-11-07 15:58:05 -05:00
Tim Graham
327f0f37ce
Fixed #28770 -- Warned that quoting a placeholder in a raw SQL string is unsafe.
...
Thanks Hynek Cernoch for the report and review.
2017-11-07 13:07:12 -05:00
Chris Lamb
998c9dd599
Fixed #28663 -- Add a check for likely incorrectly migrated django.urls.path() routes.
2017-11-07 11:39:59 -05:00
Дилян Палаузов
6c0042430e
Fixed #28776 -- Fixed a/an/and typos in docs and comments.
2017-11-06 22:41:03 -05:00
Tim Graham
5587485d49
Fixed #28765 -- Clarified docs about what types the __in lookup accepts.
2017-11-06 13:12:14 -05:00
Sergey Fedoseev
8869142a4d
Fixed #28632 -- Updated docs about using raw SQL with GIS and doc'd changes from refs #28518 in release notes.
2017-11-04 10:50:28 -04:00
Tim Graham
1e7dbbdec5
Fixed #28680 -- Doc'd Func.__init__()'s **extra and as_sql()'s **extra_context aren't escaped.
...
Thanks Hynek Cernoch for the report and review.
2017-11-01 11:34:06 -04:00
Tim Graham
7945bc1d08
Refs #23919 -- Replaced doc references to django.utils.http.urlquote() and urlquote_plus() with standard library alternatives.
...
Follow up to fee42fd99e
.
2017-11-01 11:11:12 -04:00
Tim Graham
afd375fc34
Fixed #28741 -- Removed unnecessary leading dot from cross-domain cookie examples.
2017-11-01 10:57:59 -04:00
Ville Skyttä
617686e226
Fixed 'a'/'an' mix-ups in docs.
2017-10-30 21:47:09 -04:00
Adam Johnson
f8946fbb5d
Removed docs for obsolete compatibility checks.
2017-10-30 12:39:42 -04:00
Ran Benita
03049fb8d9
Refs #28010 -- Allowed reverse related fields in SELECT FOR UPDATE .. OF.
...
Thanks Adam Chidlow for polishing the patch.
2017-10-28 20:33:42 -04:00
Botond Beres
56b364bacc
Fixed #28205 -- Doc'd that ModelAdmin.prepopulated_fields only works on add forms.
2017-10-28 13:08:10 -04:00
Samir Shah
6c98c5abdf
Refs #21927 -- Removed docs for include()'s old instance_namespace parameter.
...
Follow up to ad393beeb7
.
2017-10-28 07:48:31 -04:00
Botond Beres
ec5f7cb92e
Fixed typo in docs/ref/models/querysets.txt.
2017-10-25 19:03:21 -04:00
Botond Beres
95a14cfc47
Fixed #28395 -- Doc'd that QuerySet.first() can affect aggregation queries.
2017-10-25 18:46:25 -04:00
Srinivas Reddy Thatiparthy
55b5393bd2
Fixed #28474 -- Made DurationField raise ValidationError for inputs that raised OverflowError.
2017-10-25 18:05:13 -04:00
Ryan Verner
9473a8481a
Fixed #28740 -- Added 'continent_code' and 'continent_name' in GeoIP2.city() dict.
2017-10-25 10:07:37 -04:00
Tim Graham
1a82fc245e
Fixed #28613 -- Doc'd the return value for GenericForeignKey when the related object is deleted.
2017-10-20 14:52:48 -04:00
Tim Graham
eb9b56c5b6
Fixed #28729 -- Replaced a numbered list with unordered list in TemplatesSetting docs.
2017-10-20 14:00:51 -04:00
Flávio Juvenal
f6e1789654
Fixed #28577 -- Added checks for ArrayField and JSONField to prevent mutable defaults.
2017-10-20 13:17:22 -04:00
Collin Stedman
4a861e8850
Refs #19295 -- Doc'd that ManifestStaticFilesStorage doesn't work with runserver --insecure.
2017-10-18 20:38:30 -04:00
Jozef
3bd69b1261
Fixed typo in docs/ref/models/querysets.txt.
2017-10-17 10:07:20 -04:00
Simon Willison
346eb32861
Made SearchQuery examples less sterotyped.
2017-10-17 09:29:47 -04:00
Mariusz Felisiak
ad8036d715
Refs #28643 -- Reorganized database functions docs.
...
Thanks Tim Graham for the review.
2017-10-13 18:20:11 +02:00
Tim Graham
0edff2107f
Refs #28248 -- Clarified the precision of PASSWORD_RESET_TIMEOUT_DAYS.
2017-10-12 14:58:18 -04:00
Mads Jensen
22ff4f81b1
Fixed #28423 -- Expanded docs for indexing contrib.postgres fields.
2017-10-09 12:19:08 -04:00
François Freitag
e3a30f2d16
Refs #23919 -- Corrected django.utils.http.urlencode()'s documented signature.
...
Follow up to fee42fd99e
.
2017-10-09 08:54:44 -04:00