Commit Graph

11141 Commits

Author SHA1 Message Date
Simone Pellizzari d0315584b5
Fixed -- Fixed crash of ordering by expressions with params in ArrayAgg and StringAgg. 2019-04-06 14:23:29 +02:00
Nick Pope efb257a017 Fixed -- Forced utf-8 encoding when loading the template for the technical 500 debug page.
Regression in 50b8493.
Related to ea542a9.
2019-04-05 16:35:01 +02:00
Mariusz Felisiak 5efaf078f7
Fixed -- Added support for psycopg2 2.8. 2019-04-05 11:05:53 +02:00
msg 755673e1bc
Fixed -- Fixed incorrect quoting of database user password when using dbshell on Oracle.
Regression in acfc650f2a.
2019-04-04 08:33:28 +02:00
Mariusz Felisiak e6588aa4e7
Added stub release notes for 2.2.1. 2019-04-03 08:26:05 +02:00
Alex Gaynor 851d9eac23 Fixed typo in docs/releases/2.2.txt. 2019-04-02 09:18:06 +02:00
Mariusz Felisiak 4cbe2b06ce
Fixed typo in docs/ref/settings.txt. 2019-04-02 09:10:11 +02:00
Carlton Gibson 93daed25a4 Corrected date format in 2.2 release notes. 2019-04-01 15:00:40 +02:00
Carlton Gibson 7191beec4e Set release date in v2.2 release notes. 2019-04-01 12:11:50 +02:00
Carlton Gibson f9f09a8a02 Updated man page for 2.2 final. 2019-04-01 12:04:08 +02:00
Tim Graham 8335d59200 Fixed -- Prevented admin inlines for a ManyToManyField's implicit through model from being editable if the user only has the view permission. 2019-03-30 16:49:16 -04:00
Tim Graham e245046bb6 Added stub 2.1.8 release notes. 2019-03-30 12:55:30 -04:00
Tim Graham b9455b010e Refs -- Fixed link in cached_property docs. 2019-03-30 09:35:00 -04:00
Matthew Schinckel c3c2ec54f5 Refs -- Doc'd behavior of del on an unaccessed cached_property.
Thanks to Curtis Maloney for the description of the problem.
2019-03-30 09:29:03 -04:00
Abhishek Bera ca67f39afa Fixed -- Fixed a tutorial number in Reusable App tutorial. 2019-03-29 21:53:03 -04:00
Nick Pope 198a2a9381 Removed unnecessary /static from links to PostgreSQL docs. 2019-03-29 21:49:44 -04:00
sage 9aa56cb0d5 Fixed -- Allowed HttpResponse to accept memoryview content. 2019-03-29 09:43:49 -04:00
Tim Graham 879cc3da62 Moved extlinks in docs config to allow using 'version' variable.
After a stable branch is created, 'master' will change to
'stable/' + version + '.x'.
2019-03-28 20:47:51 -04:00
Tim Graham a68c029e22
Used extlinks for Django's source code. 2019-03-28 20:32:17 -04:00
Tim Graham 8e675e2bd8 Fixed -- Removed jQuery dependency from getCookie() in CSRF docs. 2019-03-28 19:51:54 -04:00
Nick Pope 4400d8296d
Fixed -- Added more system checks of translation settings. 2019-03-28 20:10:50 +01:00
Nick Pope d4783048ef Refs -- Improved error message when LANGUAGE_CODE is invalid. 2019-03-28 20:04:24 +01:00
Nick Pope 07daa487ae Refs -- Doc'd the LANGUAGES_BIDI setting. 2019-03-28 20:04:24 +01:00
Mariusz Felisiak e449c3a832 Doc'd that HttpResponse accepts bytestrings. 2019-03-28 10:00:12 +01:00
Mariusz Felisiak 881362986a Fixed "byte string" typo in various docs and comments. 2019-03-28 10:00:12 +01:00
Nick Pope 398afba084 Updated spelling and RFCs in HttpOnly cookie flag docs. 2019-03-27 10:09:23 -04:00
Nick Pope 2afd670de5 Removed obsolete RFC from cookie docs.
RFC 2109 was obsoleted by RFC 2965 which was obsoleted by RFC 6265.
2019-03-27 10:05:34 -04:00
Tim Graham c4447ad231 Doc'd django-docs-translation and Read the Docs release steps. 2019-03-26 13:11:41 -04:00
Tim Graham 9caa3e0a29
Doc'd a few contributing guidelines. 2019-03-25 18:26:23 -04:00
Hasan Ramezani 981dd6dd71
Fixed -- Added a system check for BinaryField to prevent strings defaults.
Thanks Claude Paroz for the initial patch.
2019-03-25 20:04:35 +01:00
Mariusz Felisiak dc53f2135b
Fixed typo in docs/releases/3.0.txt. 2019-03-25 08:39:11 +01:00
Jani Tiainen 044cc54420
Fixed -- Added support for admin_order_field attribute on properties in ModelAdmin.list_display. 2019-03-24 20:43:56 +01:00
Nick Pope d26b242443
Fixed -- Added the Sign database function. 2019-03-22 12:52:39 +01:00
Simon Charette 9dc367dc10 Refs -- Added alias argument to Expression.get_group_by_cols(). 2019-03-21 18:47:46 -04:00
Philipp Bosch 0b8abd7cdf Used monospace font in date template filter format character docs.
Helps distinguish between lowercase L and uppercase I.
2019-03-21 10:20:09 -04:00
Tim Graham 8f1cc7e9e6 Fixed -- Fixed broken links to packaging.python.org. 2019-03-21 10:07:27 -04:00
Hasan Ramezani 5fc5d93512 Fixed -- Allowed overriding an order field widget in formsets. 2019-03-21 11:51:01 +01:00
Nick Pope 0b70985f42 Fixed -- Added SHA1, SHA224, SHA256, SHA384, and SHA512 database functions.
Thanks Mariusz Felisiak and Tim Graham for reviews.
2019-03-20 19:30:43 +01:00
Francisco Couzo 0193bf874f Fixed -- Added the GeometryDistance function. 2019-03-20 12:54:42 -04:00
Carlton Gibson 418263c457
Fixed -- Doc'd changes to form Media sorting (refs ).
Thanks to Tim Graham for review.
2019-03-18 16:26:28 +01:00
Paul Wayper 1025e76429 Fixed -- Doc'd how to order nulls in QuerySet.order_by(). 2019-03-18 10:32:38 -04:00
alexanderblnf 406de977ea Fixed -- Added how to decorate class-based views to view decorators docs. 2019-03-12 10:55:37 -04:00
David Beitey 9fd90c4088 Clarified deconstruct() in Custom Model Field docs. 2019-03-12 10:12:33 -04:00
tschilling 7c68cea7ee Fixed -- Made showmigrations --list display the applied datetimes at verbosity 2+. 2019-03-08 08:25:38 -05:00
ahbk d527639804 Fixed -- Added is_dst parameter to Trunc database functions. 2019-03-07 10:02:18 -05:00
tschilling 38c3f7ea59 Corrected markup in v3.0 release notes. 2019-03-07 11:11:45 +01:00
Samuel Gaist 75840688f9 Doc'd the use of --noinput for test database handling. 2019-03-05 20:25:22 -05:00
Mariusz Felisiak f69c7bbdce
Refs -- Cosmetic edits for validation of related fields and lookups in model Meta.ordering.
Follow up to 440505cb2c.
2019-03-01 19:38:21 +01:00
Hasan Ramezani 440505cb2c Fixed -- Added validation of related fields and lookups in model Meta.ordering. 2019-03-01 17:09:33 +01:00
Tobias Bengfort 632d4861dd Clarified permission-related docs. 2019-02-28 15:27:15 +01:00
Tim Graham 50f09264ae Refs -- Updated multi-db docs for view permission. 2019-02-25 14:56:36 -05:00
Matthias Kestenholz c41e6c4eb8 Fixed -- Fixed login header height and alignment in the largest breakpoint. 2019-02-25 14:39:50 -05:00
Mariusz Felisiak b0799f5d86
Fixed documentation of database representation for ManyToManyField. 2019-02-25 20:05:31 +01:00
Mariusz Felisiak 9ff18c08c3
Refs -- Added MD5 database function.
Thanks Tim Graham, Nick Pope and Simon Charette for reviews.
2019-02-21 10:52:51 +01:00
Jon Dufresne 7feddd878c Fixed -- Added support for the test client to return 500 responses. 2019-02-20 12:16:10 +01:00
Mariusz Felisiak edec11ce86
Fixed -- Moved "install Django" command to a console box. 2019-02-16 07:56:28 +01:00
Claude Paroz a8e2a9bac6 Refs -- Deprecated storing user's language in the session. 2019-02-14 10:23:02 -05:00
Jon Dufresne 76990cbbda Fixed -- Fixed DatabaseError in servers tests.
Made DatabaseWrapper thread sharing logic reentrant. Used a reference
counting like scheme to allow nested uses.

The error appeared after 8c775391b7.
2019-02-14 10:04:55 -05:00
Tim Graham 21f9d43737
Removed docs of unused libgeoip1/python-gdal packages. 2019-02-14 09:46:34 -05:00
Dan Davis 2bd8df243a Fixed -- Removed ellipsis characters from shell output strings.
Partially reverted 50b8493581 (refs )
to avoid a crash when the user shell doesn't support non-ASCII characters.
2019-02-13 13:59:44 -05:00
Hasan Ramezani f63811f481 Fixed -- Doc'd that admin changelist may add pk to ordering. 2019-02-12 21:35:49 -05:00
Tim Graham 3b64e2b775 Refs -- Clarified cached_property 2.2 release note. 2019-02-12 18:17:30 -05:00
Claude Paroz 15715bf2a2 Fixed -- Added support for MySQL operators on real geometries.
Thanks Viswanathan Mahalingam for the report and initial patch, and
Nicke Pope and Tim Graham for the review.
2019-02-12 17:29:16 -05:00
Claude Paroz 8cf9dbee6a Doc'd database functions for overlaps lookup. 2019-02-12 15:41:50 -05:00
Jonatan Alexis Anauati 85ada61ac4 Fixed indentation in docs/topics/templates.txt. 2019-02-11 16:52:31 -05:00
Tim Graham d6e5aad5c7 Added CVE-2019-6975 to the security release archive. 2019-02-11 16:08:50 -05:00
Tim Graham 1b8f552b08 Refs -- Forwardported 2.0.13 release notes. 2019-02-11 15:45:04 -05:00
Carlton Gibson b39bd0aa6d
Refs -- Added release notes for 2.1.7, 2.0.12, and 1.11.20 releases. 2019-02-11 15:46:33 +01:00
Atul Varma b6bb912e9c Fixed typo in docs/releases/2.2.txt. 2019-02-11 08:54:05 -05:00
Carlton Gibson 402c0caa85 Fixed CVE-2019-6975 -- Fixed memory exhaustion in utils.numberformat.format().
Thanks Sjoerd Job Postmus for the report and initial patch.
Thanks Michael Manfre, Tim Graham, and Florian Apolloner for review.
2019-02-11 11:08:45 +01:00
Jon Dufresne c901a1775b Fixed typo in docs/releases/3.0.txt. 2019-02-10 17:45:03 +01:00
Tim Graham 56b50cbf73 Fixed -- Removed SAP SQL Anywhere from "3rd party database backends" as it's inactive. 2019-02-09 18:36:46 -05:00
Jon Dufresne c492fdfd24 Removed default empty content argument from HttpResponse calls. 2019-02-09 16:27:32 -05:00
Tim Graham ea87a85fad
Dropped support for GEOS 3.4. 2019-02-09 08:40:55 -05:00
Tim Graham b2333426de
Confirmed support for GDAL 2.4. 2019-02-09 08:38:49 -05:00
Mariusz Felisiak 25829197bb
Removed extra characters in docs header underlines. 2019-02-08 21:38:30 +01:00
Himanshu Lakhara 22aab8662f Fixed -- Changed default FILE_UPLOAD_PERMISSION to 0o644. 2019-02-08 14:53:15 -05:00
Tim Graham e7fd69d051 Fixed -- Dropped support for GDAL 1.11. 2019-02-08 14:08:05 -05:00
Jon Dufresne 6eb4996672 Fixed -- Deprecated ugettext(), ugettext_lazy(), ugettext_noop(), ungettext(), and ungettext_lazy(). 2019-02-08 10:05:53 -05:00
Gregory N. Schmit 48c17807a9 Fixed -- Added app_label to ContentType.__str__(). 2019-02-07 19:56:47 -05:00
Carlton Gibson 5cc6f02f91 Added stub release notes for security releases. 2019-02-07 15:46:53 +01:00
Mariusz Felisiak 759a9b710c
Updated Oracle docs links to Oracle 18c. 2019-02-07 09:59:47 +01:00
Andy Chosak 80f4ecc647 Refs -- Removed obsolete docs about manage.py setting sys.path. 2019-02-06 14:47:35 -05:00
Tim Graham 77d25dbd0f Refs -- Favored SafeString over SafeText. 2019-02-06 14:12:06 -05:00
Tim Graham d55e882927 Refs -- Deprecated django.utils.encoding.force_text() and smart_text(). 2019-02-06 14:12:06 -05:00
Aymeric Augustin 3bb6a4390c Refs -- Favored force/smart_str() over force/smart_text(). 2019-02-06 14:12:06 -05:00
Nick Pope 24b82cd201 Fixed -- Removed unneeded use of OrderedDict.
Dicts preserve order since Python 3.6.
2019-02-06 13:48:39 -05:00
Mariusz Felisiak 21bb71ef0d
Fixed -- Dropped support for Oracle 12.1.
Thanks Tim Graham for the review.
2019-02-06 19:25:04 +01:00
Tim Graham b709d70130 Simplified and corrected LOGIN_URL, LOGIN_REDIRECT_URL, and LOGOUT_REDIRECT_URL docs. 2019-02-05 19:45:29 -05:00
Tim Graham f09b0f6483 Refs -- Removed django.utils.safestring.SafeBytes. 2019-02-05 13:00:15 -05:00
Tim Graham 3004d7057f Refs -- Removed django.utils.functional.curry(). 2019-02-05 13:00:15 -05:00
Tim Graham 9a750cbd5c Refs -- Removed django.utils.decorators.ContextDecorator alias. 2019-02-05 13:00:11 -05:00
Tim Graham 41384812ef Refs -- Removed django.utils.six. 2019-02-05 12:58:55 -05:00
Tim Graham efe28d3f56 Refs -- Removed django.utils._os.abspathu(), upath(), and npath(). 2019-02-05 12:57:11 -05:00
Tim Graham d1f4b3c68a Refs -- Removed django.utils.decorators.available_attrs(). 2019-02-05 12:52:07 -05:00
Tim Graham c679f357a8 Refs -- Removed django.utils.lru_cache. 2019-02-05 12:52:07 -05:00
Tim Graham 6d2ae49f25 Refs -- Removed django.test.utils.patch_logger() and str_prefix(). 2019-02-05 12:52:07 -05:00
Tim Graham 83c2bc52c2
Refs -- Deprecated django.utils.http urllib aliases. 2019-02-04 18:53:11 -05:00
Daniel Hahler fdc4518fe2 Fixed duplicate word in docs/releases/2.0.txt. () 2019-02-04 18:30:09 -05:00
Tim Graham 39ebdf5a3c Fixed -- Dropped support for PostgreSQL 9.4 and PostGIS 2.1. 2019-02-04 18:07:02 -05:00
Tim Graham d47498c5df Fixed -- Dropped support for SpatiaLite 4.1 and 4.2. 2019-02-04 13:16:38 -05:00
Tim Graham 4763c97191 Refs -- Bumped minimum SQLite version in GIS docs. 2019-02-04 11:46:54 -05:00
Mariusz Felisiak 199025fa88
Removed unused words from docs/spelling_wordlist. 2019-02-02 15:36:20 +01:00
Tim Graham c34c6d0a2f Used extlinks for GitHub commits. 2019-02-01 21:42:48 +01:00
Daniel Roseman 6da28d5edf Used LoginRequiredMixin in "Models and request.user" example. 2019-01-31 18:01:53 -05:00
Robert Coup a8b03bea18 Refs -- Doc'd INSTALLED_APPS requirement for ArrayField(CIText). 2019-01-31 13:13:53 -05:00
Sergey Fedoseev ba7a420012 Corrected output of Prefetch.to_attr example. 2019-01-31 09:09:08 -05:00
Johannes Hoppe b131f9c79f Refs -- Renamed DatabaseFeatures.can_return_id* to be generic for other columns. 2019-01-30 15:31:56 -05:00
Carlton Gibson bae66e759f Fixed -- Doc'd middleware ordering requirements with CSRF_USE_SESSIONS. 2019-01-30 11:02:26 -05:00
Tim Graham 7e6b214ed3 Fixed -- Dropped support for Python 3.5. 2019-01-30 10:19:48 -05:00
Dan Tao 738faf9da2 Fixed -- Allowed adding foreign key constraints in the same statement that adds a field. 2019-01-29 15:42:57 -05:00
Daniel Hahler 14581553e4 Fixed typo in docs/releases/2.2.txt. 2019-01-29 09:10:30 -05:00
rsiemens a168e5616c Fixed -- Added compilemessages --ignore option. 2019-01-28 18:23:41 -05:00
Jon Dufresne 7785e03ba8 Fixed -- Replaced OSError aliases with the canonical OSError.
Used more specific errors (e.g. FileExistsError) as appropriate.
2019-01-28 11:15:06 -05:00
Tim Graham fcfb730658 Refs -- Doc'd change regarding apps without migrations depending on apps with migrations.
The addition of self.connection.check_constraints() in
7289874adc is the cause.
2019-01-28 10:05:25 -05:00
Sergey Fursov 20ea68c4fe Fixed typo in docs/ref/request-response.txt. 2019-01-27 17:30:47 -05:00
Nick Pope 0ef9979669 Fixed -- Removed tuple support in DatabaseIntrospection.get_field_type().
Support for returning tuples was undocumented and error prone.
2019-01-23 13:18:03 -05:00
Nick Pope 327bbaae24 Refs -- Changed second arg of DatabaseIntrospection.get_geometry_type() to the row description. 2019-01-23 13:18:03 -05:00
Pavel Savchenko 130192b12b Corrected GenericRelation's related_query_name manual lookup example.
And changed related_query_name to a singular noun.
2019-01-21 10:13:42 -05:00
Tim Graham 6713926ebe Refs -- Corrected deprecation version for CachedStaticFilesStorage. 2019-01-17 18:34:44 -05:00
Day Barr 51fa59f0b3 Fixed typo in QuerySet.bulk_update documentation ()
Looks like an accidental carry over from the pre-existing
QuerySet.bulk_create documentation.
2019-01-17 12:31:48 -05:00
Tim Graham f5060a1385 Advanced deprecation warnings for Django 3.0. 2019-01-17 11:15:27 -05:00
Tim Graham 92d4d0859a Refs -- Removed staticfiles and admin_static template tag libraries.
Per deprecation timeline.
2019-01-17 10:52:19 -05:00
Tim Graham 958a7b4ca6 Refs -- Removed utils.http.cookie_date() per deprecation timeline. 2019-01-17 10:52:19 -05:00
Tim Graham 6f23996a59 Refs -- Removed ForceRHR function per deprecation timeline. 2019-01-17 10:52:19 -05:00
Tim Graham 1fecde6be9 Refs -- Removed the field_name keyword argument to QuerySet.earliest() and latest().
Per deprecation timeline.
2019-01-17 10:52:19 -05:00
Tim Graham da5eb3d56c Refs -- Removed support for the context arg of Field.from_db_value() and Expression.convert_value().
Per deprecation timeline.
2019-01-17 10:52:19 -05:00
Tim Graham 7c66aaa2b6 Refs -- Removed HttpRequest.xreadlines() per deprecation timeline. 2019-01-17 10:52:16 -05:00
Tim Graham 8045dff98c Refs -- Removed settings.DEFAULT_CONTENT_TYPE per deprecation timeline. 2019-01-17 10:50:25 -05:00
Tim Graham 573ec714e5 Refs -- Removed shortcuts.render_to_response() per deprecation timeline. 2019-01-17 10:50:25 -05:00
Tim Graham 944469939b Refs -- Removed db.backends.postgresql_psycopg2 per deprecation timeline. 2019-01-17 10:50:25 -05:00
Tim Graham ec7e179aeb Removed versionadded/changed annotations for 2.1. 2019-01-17 10:50:25 -05:00
Tim Graham eb0ce6fa36 Added stub release notes for 3.0. 2019-01-17 10:50:25 -05:00
Tim Graham ffe53096a9 Bumped version; master is now 3.0 pre-alpha. 2019-01-17 10:50:24 -05:00
Carlton Gibson a0c059995a Removed empty sections from 2.2 release notes. 2019-01-17 16:25:02 +01:00
Carlton Gibson ba1a3c6034 Updated man page for Django 2.2 alpha. 2019-01-17 16:25:02 +01:00
Santiago Basulto 4fc35a9c3e Fixed -- Added HttpRequest.headers. 2019-01-16 13:38:47 -05:00
Arthur Rio 181fb60159 Fixed , -- Made proxy model permissions use correct content type.
Co-Authored-By: Simon Charette <charette.s@gmail.com>
Co-Authored-By: Antoine Catton <acatton@fusionbox.com>
2019-01-16 10:07:28 -05:00
Collin Anderson 769355c765 Fixed -- Allowed RelatedManager.add(), create(), etc. for m2m with a through model. 2019-01-15 11:12:17 -05:00
David Beitey 885cb0d390 Fixed "lets" mistakes in docs. 2019-01-14 20:32:19 -05:00
Nick Pope 6d4efa8e6a Refs -- Changed Variance() to use NumericOutputFieldMixin.
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14 14:39:46 -05:00
Nick Pope e85afa5943 Refs -- Changed StdDev() to use NumericOutputFieldMixin.
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14 14:38:00 -05:00
Nick Pope c690afb873 Refs -- Changed Avg() to use NumericOutputFieldMixin.
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14 14:35:41 -05:00
Tom Forbes c8720e7696 Fixed -- Added watchman support to the autoreloader.
Removed support for pyinotify (refs ).
2019-01-13 20:33:47 -05:00
Nick Pope abf8e390a4 Refs -- Added Reverse database function.
Thanks Mariusz Felisiak for Oracle advice and review.
2019-01-12 10:45:48 -05:00
Paveł Tyślacki b69f8eb04c Fixed -- Added support for unique conditional constraints. 2019-01-12 09:50:20 -05:00
can 7d3b3897c1 Refs -- Allowed registering serializers with MigrationWriter. 2019-01-11 18:13:16 -05:00
MaximZemskov 3c01fe30f3 Fixed -- Made 'obj' arg of InlineModelAdmin.has_add_permission() optional.
Restored backwards compatibility after refs .
Regression in be6ca89396.
2019-01-11 18:02:43 -05:00
Sanyam Khurana 76d31be2d0 Refs -- Made ping_google command/function use https for the sitemap URL. 2019-01-11 10:32:22 -05:00
Sanyam Khurana 6d73278d38 Documented ping_google()'s ping_url argument. 2019-01-11 09:43:51 -05:00