1
0
mirror of https://github.com/django/django.git synced 2024-11-18 07:26:04 +00:00
Commit Graph

4052 Commits

Author SHA1 Message Date
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