Tim Graham
926fa7116f
Fixed #29317 -- Doc'd filter argument in contrib.postgres aggregates.
2018-11-27 11:20:23 -05:00
Simon Charette
9a7d336c38
Corrected Aggregate docs to reflect that it accepts multiple expressions.
2018-11-27 09:22:24 -05:00
Mariusz Felisiak
f091ea3515
Refs #29722 -- Added introspection of materialized views for Oracle.
...
Thanks Tim Graham for the review.
2018-11-26 19:45:05 +01:00
Nick Pope
c512912463
Refs #23801 -- Made integer field max_length warning show correct field type.
2018-11-23 14:40:46 -05:00
Tim Graham
3529d0eabf
Corrected docs and removed unused code for got_request_exception signal's sender argument.
...
Inaccurate since 7d1b69dbe7
.
2018-11-20 10:15:58 -05:00
Nick Pope
ebd270627c
Refs #29722 -- Added introspection of partitions for PostgreSQL.
2018-11-19 14:06:01 -05:00
Thomas Grainger
0607699902
Fixed #29478 -- Added support for mangled names to cached_property.
...
Co-Authored-By: Sergey Fedoseev <fedoseev.sergey@gmail.com>
2018-11-19 13:40:49 -05:00
François Freitag
9b15ff08ba
Used auto-numbered lists in documentation.
2018-11-15 13:54:28 -05:00
Timothy Allen
e819554018
Fixed #29939 -- Increased Group.name max_length to 150 characters.
2018-11-14 15:13:34 -05:00
Daniel Musketa
ca2856fb62
Fixed typo in docs/ref/middleware.txt.
2018-11-14 09:47:22 -05:00
Mariusz Felisiak
ff8020ed49
Fixed #29788 -- Added support for Oracle Managed File (OMF) tablespaces.
2018-11-13 18:22:41 -05:00
Simon Charette
db13bca60a
Fixed #29641 -- Added support for unique constraints in Meta.constraints.
...
This constraint is similar to Meta.unique_together but also allows
specifying a name.
Co-authored-by: Ian Foote <python@ian.feete.org>
2018-11-13 17:57:27 -05:00
Simon Charette
8eae094638
Generalized check constraint docs for other constraints.
2018-11-13 17:57:27 -05:00
Sergey Fedoseev
d48662122c
Corrected docs regarding RegisterLookupMixin subclasses.
2018-11-12 10:20:35 -05:00
Mads Jensen
961f8e9985
Updated some links to https and new locations.
2018-11-10 17:40:50 -05:00
Tim Graham
0b98e8fdad
Fixed #29941 -- Fixed missing variable in docs/ref/contrib/contenttypes.txt.
...
Regression in b47552b445
.
2018-11-09 19:49:06 -05:00
Tim Graham
f82be9ebc7
Fixed #29934 -- Added sqlparse as a require dependency.
2018-11-09 19:09:36 -05:00
Matthias Kestenholz
f9ff1df1da
Fixed #29917 -- Stopped collecting ModelAdmin.actions from base ModelAdmins.
2018-11-09 18:52:30 -05:00
romgar
b3b1d3d45f
Fixed #25251 -- Made data migrations available in TransactionTestCase when using --keepdb.
...
Data loaded in migrations were restored at the beginning of each
TransactionTestCase and all the tables are truncated at the end of
these test cases. If there was a TransactionTestCase at the end of
the test suite, the migrated data weren't restored in the database
(especially unexpected when using --keepdb). Now data is restored
at the end of each TransactionTestCase.
2018-11-06 16:57:50 -05:00
Tobias Bengfort
9a63d840ff
Fixed inconsistent indentation in docs/ref/contrib/auth.txt.
2018-11-03 11:07:44 -04:00
Theofanis Despoudis
084536a9be
Fixed #27994 -- Documented ManifestFilesMixin.
2018-11-01 11:15:13 -04:00
Artur Juraszek
817c6cdf0e
Capitalized SecurityMiddleware headers for consistency with other headers.
...
(No behavior change since HTTP headers are case insensitive.)
2018-10-30 18:30:51 -04:00
Mads Jensen
a906c98982
Fixed #29547 -- Added support for partial indexes.
...
Thanks to Ian Foote, Mariusz Felisiak, Simon Charettes, and
Markus Holtermann for comments and feedback.
2018-10-29 19:34:54 -04:00
Tim Graham
7f2b27e95c
Fixed code highlighting in docs/ref/contrib/staticfiles.txt.
2018-10-29 11:55:32 -04:00
Tim Graham
f892781b95
Fixed #28606 -- Deprecated CachedStaticFilesStorage.
2018-10-27 11:58:29 -04:00
Mayank Singhal
76b3367035
Fixed #29879 -- Added CSRF_COOKIE_HTTPONLY to CSRF AJAX docs.
2018-10-25 11:39:52 -04:00
Hemanth V. Alluri
fd49701ab9
Removed a useless sentence in docs/ref/unicode.txt.
2018-10-24 20:01:19 -04:00
Prabakaran Kumaresshan
10d82c85aa
Fixed #29831 -- Added validation for makemigrations --name.
2018-10-23 10:05:24 -04:00
Jon Dufresne
136a900ef9
Refs #29877 -- Made diveinto.org URLs HTTPS.
2018-10-23 15:03:00 +02:00
za
b0d716cbff
Fixed #29877 -- Replaced diveintopython3.net with diveinto.org/python3/.
2018-10-23 11:55:18 +02:00
buzzi
24cae0bedc
Fixed #29860 -- Allowed BaseValidator to accept a callable limit_value.
2018-10-22 10:26:54 -04:00
Atul Varma
3deea61f26
Removed "encoding" description in GIS tutorial.
...
An omission in 388165ade4
.
2018-10-21 12:14:06 -04:00
Tim Graham
a29fce8984
Fixed #29858 -- Clarified docs regarding CSRF token header name.
2018-10-18 19:44:15 -04:00
Jon Dufresne
0cd465b63a
Fixed #29817 -- Deprecated settings.FILE_CHARSET.
2018-10-15 17:15:41 -04:00
Mariusz Felisiak
52fec5d18f
Fixed #29836 -- Bumped required cx_Oracle to 6.0.
2018-10-11 11:43:16 +02:00
Andrea Rabbaglietti
1b49b792e9
Emphasized that ForeignKey.on_delete doesn't create a SQL constraint.
2018-10-10 14:56:50 -04:00
Jon Dufresne
c82893cb8c
Refs #27795 -- Removed force_bytes() usage from django/utils/http.py.
...
django.utils.http.urlsafe_base64_encode() now returns a string, not a
bytestring. Since URLs are represented as strings,
urlsafe_base64_encode() should return a string. All uses immediately
decoded the bytestring to a string anyway.
As the inverse operation, urlsafe_base64_decode() accepts a string.
2018-10-10 14:38:22 -04:00
Jon Dufresne
e90af8bad4
Capitalized "Python" in docs and comments.
2018-10-09 09:26:07 -04:00
Kate Berry
b8b1d8cad6
Improved tone in docs/ref/settings.txt.
2018-10-04 11:35:19 -04:00
Jon Dufresne
f5d9ee11a2
Refs #27778 -- Removed "The database API" section from "Unicode data" docs.
...
Support for passing bytestrings to the database API was removed in
301de774c2
.
2018-10-04 09:10:20 -04:00
ovalseven8
d093e01ec0
Clarified when QuerySet.select_for_update() locks.
2018-10-03 15:29:33 -04:00
Jon Dufresne
3212008ba6
Corrected docs to say that all templates are text strings.
...
Support for bytestring templates was removed in
3a148f958d
.
2018-10-03 10:05:17 +02:00
Stefano Chiodino
6de7f9ec60
Fixed #29598 -- Deprecated FloatRangeField in favor of DecimalRangeField.
2018-10-02 19:17:23 -04:00
Nick Pope
bf8b625a3b
Refs #29722 -- Added introspection of materialized views for PostgreSQL.
2018-10-02 14:02:04 -04:00
Nick Pope
45ef3df7d0
Fixed #29719 -- Added introspection of foreign tables for PostgreSQL.
...
Thanks infinite-l00p for the initial patch.
2018-10-02 14:01:24 -04:00
Tim Graham
31edb106b5
Removed docs for obsolete limitations of inspectdb.
2018-10-02 13:29:18 -04:00
Simon Charette
9142bebff2
Refs #11964 -- Changed CheckConstraint() signature to use keyword-only arguments.
...
Also renamed the `constraint` argument to `check` to better represent which
part of the constraint the provided `Q` object represents.
2018-10-02 10:53:04 -04:00
Przemysław Buczkowski
70d0a1ca02
Fixed #29711 -- Added a system check for uniquness of admin actions' __name__.
2018-10-02 09:17:23 -04:00
Jon Dufresne
b3b47bf515
Added tests for using bytearray with BinaryField and corrected docs.
2018-10-01 09:16:16 -04:00
Paweł Kołodziej
05c578bc1f
Fixed #29796 -- Added system check for STATICFILES_DIRS prefix ending with a slash.
2018-09-27 19:49:37 -04:00
Jon Dufresne
fb2964a410
Added test of filtering on BinaryField and corrected docs.
2018-09-26 14:38:12 -04:00
Sergey Fedoseev
51da347c32
Fixed #29795 -- Confirmed support for PostGIS 2.5.
2018-09-26 13:36:38 -04:00
Jon Dufresne
82f286cf6f
Refs #29784 -- Switched to https:// links where available.
2018-09-26 08:48:47 +02:00
Jon Dufresne
8c3e0eb1c1
Normalized spelling of "lowercase" and "lowercased".
2018-09-25 10:30:18 -04:00
Jon Dufresne
ad9a28ee38
Refs #29784 -- Normalized Python docs links to omit the version.
2018-09-25 10:19:42 +02:00
Tom Forbes
9cbdb44014
Fixed #23646 -- Added QuerySet.bulk_update() to efficiently update many models.
2018-09-18 16:14:44 -04:00
Adam Johnson
beffa061eb
Made various edits to docs/ref/utils.txt.
2018-09-18 11:26:06 -04:00
Sergey Fedoseev
8aad4a38ae
Confirmed support for GEOS 3.7.
2018-09-18 09:52:02 -04:00
Claude Paroz
f5e347a640
Fixed #27899 -- Added support for phrase/raw searching in SearchQuery.
...
Thanks Tim Graham, Nick Pope, and Claude Paroz for contribution and review.
2018-09-17 12:03:52 -04:00
Sergey Fedoseev
c5e450ac95
Fixed #29761 -- Confirmed support for PROJ 5.x.
2018-09-17 12:03:30 -04:00
jtiai
583b9fc410
Fixed #29757 -- Documented Oracle DSN and Easy Connect options.
2018-09-17 10:24:51 -04:00
Adam Johnson
245c36d7b6
Fixed #29642 -- Added check for arguments of custom error handler views.
2018-09-14 11:59:56 -04:00
Ramiro Morales
1b1f64ee5a
Refs #14357 -- Deprecated Meta.ordering affecting GROUP BY queries.
...
Thanks Ramiro Morales for contributing to the patch.
2018-09-13 12:29:48 -04:00
Adam Zapletal
57fd3700d4
Fixed typo in docs/ref/contrib/postgres/search.txt.
2018-09-12 18:12:34 -04:00
Stephen Finucane
25f4302349
Emphasized that TemplatesSetting must be used to override widget templates.
2018-09-11 15:14:53 -04:00
Hasan Ramezani
5195b99e2c
Fixed #29560 -- Added --force-color management command option.
2018-09-11 11:15:42 -04:00
Curtis Maloney
c49ea6f591
Refs #20910 -- Replaced snippet directive with code-block.
2018-09-10 13:00:34 -04:00
Nick Pope
570402ffd7
Refs #29713 -- Improved error message from translation system check.
2018-09-06 13:49:25 +02:00
flh
ccf870ebf5
Corrected forms.TimeField's default widget in docs.
2018-09-04 18:18:42 -05:00
David
5db8d617c0
Fixed #29713 -- Added check that LANGUAGE_CODE uses standard language id format.
2018-09-03 10:43:55 +02:00
Claude Paroz
388165ade4
Fixed LayerMapping encoding in geodjango tutorial.
...
GDAL >= 1.9 automatically converts latin-1-encoded strings from Shapefiles to
UTF-8.
2018-08-28 18:59:34 +02:00
Matt Wiens
c122a7c53c
Fixed typo in docs/ref/models/fields.txt.
2018-08-28 07:53:09 -04:00
Jon Dufresne
76df4f35c2
Corrected ModelFormMixin.form_invalid() signature in docs.
2018-08-27 20:52:33 -04:00
Tim Graham
7b7fb2eca5
Fixed #29709 -- Updated recommended SQL Server backend to django-pyodbc-azure.
2018-08-25 18:36:00 -04:00
priyanshsaxena
83b04d4f88
Fixed #29048 -- Added **extra_context to database function as_vendor() methods.
2018-08-23 11:52:09 -04:00
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