Commit Graph

10047 Commits

Author SHA1 Message Date
Tim Graham d66378a8b2 Fixed #28175 -- Fixed __in lookups on a foreign key when using the foreign key's parent model as the lookup value.
Thanks Simon Charette for review.
2017-05-05 18:35:08 -04:00
Christoph Schindler 2874531ab5 Fixed typo in docs/ref/forms/fields.txt. 2017-05-05 18:24:27 -04:00
Tim Graham 2dc3280254 Fixed #28160 -- Prevented hiding GDAL exceptions when it's not installed. 2017-05-04 20:45:18 -04:00
François Freitag c0a2b9508a Fixed #27554 -- Fixed prefetch_related() crash when fetching relations in nested Prefetches. 2017-05-04 09:17:29 -04:00
Mariusz Felisiak 16121da78d Fixed broken links to Oracle docs. 2017-05-04 09:11:47 -04:00
Simon Charette b91868507a Fixed #28161 -- Fixed return type of ArrayField(CITextField()).
Thanks Tim for the review.
2017-05-04 00:02:14 -04:00
Tim Graham 584e10c76e Fixed #28166 -- Fixed Model._state.db on MTI parent model after saving child model.
Regression in 38575b007a.
2017-05-03 12:14:15 -04:00
Alexander Kavanaugh 362fba87c9 Fixed #28159 -- Fixed BaseInlineFormSet._construct_form() crash when using save_as_new.
Regression in 4a246a02bd.
2017-05-03 07:45:51 -04:00
Mariusz Felisiak 9b2d47bcde Fixed broken link to QUnit docs. 2017-05-03 07:31:59 -04:00
Tim Graham d302e2c09c Fixed #28157 -- Fixed choice ordering in form fields with grouped and non-grouped options.
Regression in b52c73008a.
2017-05-03 07:21:44 -04:00
Tim Graham 13cd5b0670 Fixed broken link to mysqlclient docs. 2017-05-02 20:17:14 -04:00
Tim Graham 941280229e Refs #28100 -- Added 1.11.1 release note for e6bfd3d751. 2017-05-01 21:30:07 -04:00
Markus Holtermann 663e48947f Fixed #28052 -- Prevented dropping Meta.indexes when changing db_index to False.
Thanks Marc Tamlyn for the report and Ian Foote/Tim Graham for review.
2017-05-01 11:31:48 -04:00
Ian Foote 63afe3a2bf Fixed #28043 -- Prevented AddIndex and RemoveIndex from mutating model state. 2017-05-01 09:32:44 -04:00
Tim Graham 4b0211dad5 Fixed #28139 -- Added another level of headings in the topics index. 2017-05-01 08:53:54 -04:00
Dylan Verheul 75aeebebfe Fixed #28105 -- Fixed crash in BaseGeometryWidget.get_context() when overriding existing attrs. 2017-04-30 20:19:12 -04:00
Tim Graham 1ebd295082 Fixed #28040 -- Updated SplitArrayWidget to use template-based widget rendering.
Thanks Preston Timmons for review.
2017-04-29 19:00:21 -04:00
shinriyo d510971088 Fixed typo in docs/topics/auth/default.txt. 2017-04-29 06:56:28 -04:00
Mariusz Felisiak f3427ccb25 Refs #28138 -- Added release notes for d52577b62b. 2017-04-28 13:15:05 -04:00
Tim Graham f04a404917 Fixed #28130 -- Fixed formset min_num validation with initial, unchanged forms.
Regression in f5c6295797.
2017-04-28 09:32:40 -04:00
Claude Paroz 301de774c2 Refs #27795 -- Replaced many force_text() with str()
Thanks Tim Graham for the review.
2017-04-27 09:10:02 +02:00
Daniel F Moisset 8ab7ce8558 Fixed #28037 -- Clarified that QueryDict.items()/values() are generators. 2017-04-26 20:51:28 -04:00
Tim Graham 31e0b3b40b Added links and cosmetic edits to docs/ref/request-response.txt. 2017-04-26 20:48:59 -04:00
Josh Schneier a1b2c1d76e Fixed #28137 -- Deprecated HttpRequest.xreadlines(). 2017-04-26 19:39:22 -04:00
kapil garg 278a09ac1f Fixed #27730 -- Doc'd that template vars created outside a block can't be used in it. 2017-04-26 14:54:57 -04:00
Josh Schneier 9b538badb1 Refs #23919 -- Removed File's Python 2 proxied methods. 2017-04-26 14:44:07 -04:00
Ingo Klöcker f3ac398dd5 Fixed #27644 -- Doc'd FileSystemStorage.get_created_time(). 2017-04-26 13:33:35 -04:00
Nauman Tariq 6684af1e43 Added content_type filtering in Permission querying example. 2017-04-26 13:28:06 -04:00
Tim Graham 8f50ca11eb Clarified "newly-introduced features" in the supported versions policy. 2017-04-26 09:48:55 -04:00
Tim Graham 19a23fe562 Fixed #28074 -- Doc'd template-based widget rendering changes for contrib.gis. 2017-04-26 09:45:33 -04:00
Tim Graham bce5cc57e9 Fixed #28125 -- Clarified 1.11 release note about Template.render() prohibiting non-dict context. 2017-04-26 09:40:48 -04:00
Paolo Melchiorre fcb5dbfec0 Fixed #27996 -- Added RandomUUID function and CryptoExtension to contrib.postgres. 2017-04-25 20:21:36 -04:00
Josh Schneier 98ee57e343 Removed nonexistent methods from File's docs.
read() and write() were removed in 68a890e79f.
2017-04-25 19:49:00 -04:00
Tim Graham 56970c5b61 Fixed #28122 -- Fixed crash when overriding views.static.directory_index()'s template. 2017-04-25 11:01:21 -04:00
Michiel Beijen 5e8625ba64 Renamed "Mac OS X" to "macOS" in docs. 2017-04-24 20:16:09 -04:00
Simon Charette 8ef35468b6 Fixed #28101 -- Fixed a regression with nested __in subquery lookups and to_field.
Thanks Kristian Klette for the report and Tim for the help.
2017-04-23 00:21:27 -04:00
Simon Charette c0f12a098c Fixed #28109 -- Corrected the stack level of unordered queryset pagination warnings.
Refs #26290.

Thanks Tim for the review.
2017-04-22 14:08:57 -04:00
Jon Dufresne 581879a510 Fixed #28075 -- Prevented ChoiceWidget from localizing option values. 2017-04-21 12:14:40 -04:00
Tim Graham b7dc998087 Added "reraising" to docs/spelling_wordlist 2017-04-20 13:03:24 -04:00
Tim Graham 8b767986ba Refs #28091 -- Forwardported 1.11.1 release note. 2017-04-20 12:58:24 -04:00
Tim Graham d2cb7a2bc1 Fixed #28039 -- Fixed crash in BaseGeometryWidget.subwidgets(). 2017-04-20 11:36:40 -04:00
Markus Holtermann 6d7cbe67f0 Removed inappropriate highlighting in committing-code.txt. 2017-04-20 11:32:56 -04:00
Tim Graham af1f986360 Fixed #28059 -- Restored class attribute in <ul> of widgets that use multiple_input.html.
Regression in b52c73008a
2017-04-20 10:06:34 -04:00
Claude Paroz 43b4a1618e Fixed #28096 -- Allowed prefetch calls with ModelIterable subclasses
Regression in 7ec330eeb9.
Thanks Tim Graham for the review.
2017-04-19 19:32:46 +02:00
Tim Graham dff559ff83 Fixed #28097 -- Fixed layout of ReadOnlyPasswordHashWidget. 2017-04-19 12:59:30 -04:00
InvalidInterrupt dda596ca32 Fixed #28066 -- Prevented SessionBase.cycle_key() from discarding data. 2017-04-17 09:58:19 -04:00
Tim Graham c09bf8d767 Fixed #28058 -- Restored empty BoundFields evaluating to True.
Regression in b52c73008a
2017-04-17 08:32:29 -04:00
Tim Graham 8c6a3062dd Fixed #28079 -- Restored "No POST data" (rather than an empty table) in HTML debug page.
Regression in 7b6dccc82f
2017-04-15 09:21:35 -04:00
Claude Paroz 89a080fc05 Doc'd a release task for translated docs. 2017-04-15 09:19:16 -04:00
Tim Graham 83cbb8d080 Fixed #28067 -- Clarified __str__() return type when using python_2_unicode_compatible(). 2017-04-14 08:05:58 -04:00
Claude Paroz 7741d4e878 Double quoted HTML attributes in widget docs 2017-04-14 08:47:50 +02:00
Sergey Fedoseev 33421ed10c Corrected docs regarding MySQL support of Length GIS function. 2017-04-12 08:59:47 -04:00
Tim Graham 45d65fc3f2 Fixed #28069 -- Moved setup_test_environment() warning in tutorial 5.
Updated for 17e661641d.
2017-04-12 08:17:46 -04:00
Christoph Schindler 7060f777b0 Fixed outdated TIME_FORMAT in docs/ref/templates/builtins.txt.
The format changed in 22bfc45146.
2017-04-11 12:30:58 -04:00
Ran Benita 2a6b4e6521 Updated docs after changing select_for_update() to raise NotSupportedError.
Follow up to 054a44d6f0.
2017-04-11 11:52:53 -04:00
Taavi Teska 5dbf1c4b23 Fixed #27947 -- Doc'd that model Field.error_messages often don't propagate to forms. 2017-04-10 14:24:44 -04:00
Tim Graham d825ac6dfa Clarified HStoreField model/form difference in 1.11 release notes. 2017-04-10 12:31:36 -04:00
Tim Graham fce7827101 Fixed #28047 -- Fixed QuerySet.filter() crash when it uses the name of a OneToOneField pk.
Regression in 1bc249c2a6.
2017-04-10 09:51:51 -04:00
Paolo Melchiorre eac396a5d0 Fixed typos in docs/topic/db/search.txt. 2017-04-08 07:26:15 -04:00
kalombo dd00184892 Fixed #28042 -- Fixed crash when using a two-tuple in EmailMessage's attachments arg. 2017-04-07 18:02:34 -04:00
Simon Charette a354c69055 Fixed #28038 -- Restored casting to text of builtin lookups on PostgreSQL.
Reverted 658f1e8 which broke code using __icontains's implicit cast to ::text
on ArrayField.

Thanks Peter J. Farrell for the report.
2017-04-07 16:47:52 -04:00
Markus Holtermann d3cf75ec6f Fixed #28051 -- Made migrations respect Index's name argument.
Thanks Marc Tamlyn for the report and Tim Graham for the review.
2017-04-07 11:47:53 -04:00
Ingo Klöcker c4536c4a54 Fixed #27777 -- Made File.open() work with the with statement (#8310)
Fixed #27777 -- Made File.open() work with the with statement
2017-04-07 14:21:06 +02:00
Raphael Michel bde814142a Fixed #22654 -- Broken decimal validation 2017-04-07 12:45:08 +02:00
Richard Barrell 351835f262 Fixed #28031 -- Removed notes about old uWSGI/sentry versions (refs #20537). 2017-04-06 09:09:49 -04:00
Sudhanshu Mishra 9f0c82971d Fixed #28025 -- Fixed typo in docs/ref/models/querysets.txt. 2017-04-05 07:23:40 -04:00
Florian Apolloner 9301504a45 Back to the future.
Forward port of 5da14b257e from 1.11.x
2017-04-05 11:17:20 +02:00
Tim Graham 4202ed2437 Added stub release notes for 1.11.1. 2017-04-04 22:20:56 -04:00
Tim Graham b749c980a0 Added CVE-2017-7233,4 to the security release archive. 2017-04-04 21:51:50 -04:00
Tim Graham 5ea48a70af Fixed #27912, CVE-2017-7233 -- Fixed is_safe_url() with numeric URLs.
This is a security fix.
2017-04-04 10:42:06 -04:00
Tim Graham a1f948b468 Fixed CVE-2017-7234 -- Fixed open redirect vulnerability in views.static.serve().
This is a security fix.
2017-04-04 10:42:06 -04:00
Tim Graham b9ebf6c0c2 Added stub release notes for security releases. 2017-04-04 10:41:57 -04:00
Adam Johnson 7f8a924b45 Refs #27834 -- Removed Value wrapping from StrIndex's substring param. 2017-04-03 08:39:57 -04:00
Aleksej Manaev 7170820b4e Fixed typos in docs/howto/static-files/index.txt. 2017-04-03 08:13:48 -04:00
Sergey Fedoseev 17e078dbf2 Refs #12410 -- Doc'd LineLocatePoint in functions' summary table. 2017-04-03 07:33:43 -04:00
Sergey Fedoseev 5e710cf4a5 Fixed #11854 -- Added Azimuth GIS function. (#8286) 2017-04-02 14:24:06 -04:00
Jirka Schäfer 73c30b79c0 Clarified meaning of "Optional" in auth.models.User field docs. 2017-04-01 21:24:42 -04:00
Simon Charette 0ad7e8f71f Fixed #28003 -- Doc'd what an auto-created OneToOneField parent_link looks like.
Thanks Simon Charette for the draft patch.
2017-04-01 21:21:15 -04:00
Jon Dufresne 7bbb5161ea Removed implicit default store_true/false argparse args.
argparse automatically sets the default value for store_true/false
arguments to its opposite.
2017-04-01 20:03:56 -04:00
Sergey Fedoseev 24023c6a8f Fixed #25874 -- Made GEOSGeometry read SRID from GeoJSON input. 2017-04-01 15:35:30 -04:00
Sergey Fedoseev ede4f6d48c Fixed #12410 -- Added LineLocatePoint GIS function. 2017-04-01 15:02:09 -04:00
Tim Graham 7b53041420 Fixed #28004 -- Doc'd how to create migrations for an app without a migrations directory. 2017-04-01 14:26:39 -04:00
Sergey Fedoseev 0a13b249e2 Fixed #26967 -- Added MySQL support for AsGeoJSON, GeoHash, IsValid functions, and isvalid lookup. 2017-04-01 13:43:53 -04:00
Carlton Gibson 6b3724fa11 Fixed #27359 -- Made Engine.get_default() return the first DjangoTemplates engine if multiple are defined. 2017-03-31 17:26:42 -04:00
heathervm 7d1e237753 Fixed #27993 -- Fixed model form default fallback for SelectMultiple. 2017-03-31 10:10:08 -04:00
Sergey Fedoseev 6ecccad711 Fixed #25873 -- Made GEOSGeometry handle the srid parameter more predictably. 2017-03-30 09:38:26 -04:00
Tim Graham ea36e7454c Fixed #27988 -- Fixed typo in docs/ref/django-admin.txt. 2017-03-28 10:38:00 -04:00
Paolo Melchiorre 24d53786d4 Made a few cosmetic updates to "Migrations that add unique fields". 2017-03-27 14:07:11 -04:00
Claude Paroz 6585ebebaa Fixed #27981 -- Doc'd date/time filter l10n changes in refs #25758. 2017-03-27 12:53:03 -04:00
Stefano Rivera 899c42cc8e Removed unexpected initial attribute in data migration examples.
Inadvertently added in db97a88495.
2017-03-25 15:59:17 -04:00
Sergey Fedoseev 24d40e7e0c Removed unused links in docs/internals/contributing/triaging-tickets.txt. 2017-03-25 13:05:48 -04:00
Sergey Fedoseev 075f13e44f Refs #27556, #27488 -- Updated support backends docs for isvalid lookup. 2017-03-23 13:07:50 -04:00
Sergey Fedoseev 7b6524e0ff Linked GIS QuerySet API docs to corresponding PostGIS docs. 2017-03-22 12:21:59 -04:00
Sergey Fedoseev 6052b185ca Clarified backend support of Area GIS function. 2017-03-22 09:53:48 -04:00
seanfagan 325db2a8c3 Fixed #27945 -- Clarified that RegexValidator searches with the regex. 2017-03-21 12:27:42 -04:00
Mariusz Felisiak 43380e9110 Fixed #27966 -- Bumped required psycopg2 version to 2.5.4.
Thanks Tim Graham for the review.
2017-03-21 17:23:17 +01:00
Tim Graham 4224ecb74e Fixed #27949 -- Doc'd how OpenLayers 3 widgets work. 2017-03-21 10:50:48 -04:00
Mikkel Munch Mortensen 1e93210f1f Fixed #27963 -- Removed unneeded docstring example in contributing docs. 2017-03-21 10:12:41 -04:00
Tim Graham 075e93c16a Refs #27919 -- Changed Widget.get_context() attrs kwarg to an arg. 2017-03-21 09:14:45 -04:00
Garry Polley 88c003c2bd Removed an obsolete temporal reference in docs/faq/general.txt. 2017-03-21 08:20:54 -04:00
Mariusz Felisiak a3af8c99d9 Removed extra characters in docs header underlines. 2017-03-20 18:30:32 -04:00
Sergey Fedoseev 66bbde6819 Clarified return value of NumGeometries GIS function. 2017-03-17 09:03:30 -04:00
Sergey Fedoseev e32265de1a Removed MySQL (unsupported) from Perimeter docs. 2017-03-17 07:48:12 -04:00
Alasdair Nicol 757aefc12b Removed self from method signatures in docs. 2017-03-16 20:33:59 -04:00
Sergey Fedoseev 875aebdb2c Added SpatiaLite NumPoints support for non-LINESTRING geometries. 2017-03-16 20:29:31 -04:00
Sergey Fedoseev 1c3ddc0d27 Linked GIS functions docs to corresponding PostGIS docs. 2017-03-16 14:47:51 -04:00
Mariusz Felisiak 03b2d655c2 Removed unused words from docs/spelling_wordlist. 2017-03-16 14:23:33 -04:00
Tim Graham 5bd7ffc313 Updated postgis.net and gaia-gis.it links to https. 2017-03-16 14:01:45 -04:00
Adi Mukherjee b00bf52034 Updated Django checkout URL to use https.
It's slightly more compatible than the git protocol.
2017-03-16 13:46:34 -04:00
Bo Marchman 7a7b331cd5 Fixed #27882 -- Allowed {% cache %} to cache indefinitely. 2017-03-15 13:01:21 -04:00
Pavel Kulikov 0d83052e52 Fixed #27918 -- Documented ChoiceWidget.option_template_name 2017-03-15 09:38:06 -04:00
lb1c 36f2262741 Fixed incorrect import in docs/ref/models/expressions.txt. 2017-03-15 08:09:48 -04:00
Brad Melin b625907a79 Fixed #27834 -- Added StrIndex database function. 2017-03-14 19:58:56 -04:00
Tobias McNulty 3f64fd2f75 Replaced docs/internals/team.txt with DSF teams page. 2017-03-14 16:36:44 -04:00
Mads Jensen a7ec7afce1 Fixed typo in docs/topics/db/aggregation.txt header. 2017-03-14 11:11:14 -04:00
Florian Apolloner bf0dff4bed Typo fix. 2017-03-13 22:01:42 +01:00
Adam Chainz a452dddb25 Fixed #27904 -- Added a system check that Field.validators are callable. 2017-03-11 12:27:29 -05:00
Mariusz Felisiak 75503a823f Fixed #27924 -- Added support for cx_Oracle 5.3.
- Fixed Oracle backend due to cx_Oracle 5.3 change in the
Cursor.description behavior i.e. "Use None instead of 0 for items in
the Cursor.description attribute that do not have any validity.".
- Used cx_Oracle.Object.size() instead of len().
Thanks Tim Graham for the review.
2017-03-10 23:02:44 +01:00
Tim Graham c577d8a498 Described DEBUG_PROPAGATE_EXCEPTIONS behavior in more detail. 2017-03-09 12:18:17 -05:00
David D Lowe 9269dec05e Fixed #27911 -- Doc'd how to register custom User with admin. 2017-03-08 12:14:58 -05:00
Mariusz Felisiak 94d8bea212 Fixed #24365 -- Made inspectdb translate MySQL unsigned integer columns to positive integer fields. 2017-03-08 10:56:00 -05:00
Camilo Nova 5db465d5a6 Fixed #27891 -- Added PasswordResetConfirmView.post_reset_login_backend. 2017-03-07 19:52:26 -05:00
Raphael Merx 2a3a0eb092 Fixed #27905 -- Added RelatedFieldWidgetWrapper.value_omitted_from_data(). 2017-03-07 13:56:29 -05:00
Tim Graham 6c5348b9d2 Added stub release notes for 1.10.7. 2017-03-07 13:05:35 -05:00
Tim Graham 784a53beef Reverted "Fixed #27878, refs #23919 -- Used python3 shebangs."
This reverts commit 4cffa9a1ff.
2017-03-07 10:10:32 -05:00
Tim Graham dacdcec767 Fixed #26817 -- Doc'd downsides and alternatives to Jinja2 context processors.
Thanks Aymeric Augustin and Carl Meyer.
2017-03-06 13:34:48 -05:00
Grzegorz Tężycki fede65260a Fixed #26911 -- Removed NoReverseMatch silencing in RedirectView. 2017-03-01 15:56:39 -05:00
albertoconnor 2863e79a5c Fixed typo in docs/howto/custom-template-tags.txt. 2017-03-01 15:42:00 -05:00
Adam Johnson c1d652c62f Fixed typo in docs/releases/1.10.6.txt. 2017-03-01 10:11:32 -05:00
Tim Graham 4f22505a9f Added release date for 1.10.6. 2017-03-01 08:27:08 -05:00
Alexey Opalev 9f21e35100 Fixed #27842 -- Added protocol kwarg to GenericSitemap.__init__(). 2017-02-28 11:48:07 -05:00
Asif Saifuddin Auvi 5f3a689f71 Imported django.http classes instead of django.http. 2017-02-27 14:47:11 -05:00
Alexkane b427f0d674 Made a few queryset lookup examples consistent. 2017-02-24 16:35:08 -05:00
Tim Graham c31e7ab5a4 Refs #25187 -- Fixed AuthBackend.authenticate() compatibility for signatures that accept a request kwarg. 2017-02-24 10:15:41 -05:00
Chris Lamb 4cffa9a1ff Fixed #27878, refs #23919 -- Used python3 shebangs. 2017-02-23 13:41:10 -05:00
Claude Paroz eb97af0402 Completed 1.10.6 release note 2017-02-23 10:29:38 +01:00
Claude Paroz e6065c7b83 Fixed #25619 -- Made runserver serve with HTTP 1.1 protocol
Thanks Tim Graham for the review.
2017-02-23 09:04:53 +01:00
Tim Graham 098f181e18 Refs #27851 -- Clarified that admin.site.urls can't be passed to include(). 2017-02-22 18:01:56 -05:00
Timothy Allen 7d20a7d88a Used "0" ip shortcut for runserver example. 2017-02-21 19:13:00 -05:00
Vytis Banaitis 4045fd56cb Fixed #27856 -- Improved accuracy of date subtraction on PostgreSQL.
Accuracy was incorrect when dates differ by a month or more.
2017-02-21 12:06:16 -05:00
Vytis Banaitis d5088f838d Fixed #27828 -- Fixed a crash when subtracting Integer/DurationField from DateField on Oracle/PostgreSQL. 2017-02-16 11:46:32 -05:00
Tim Graham 5729272509 Clarified that creating a pull request for the tutorial isn't necessary. 2017-02-16 11:33:07 -05:00
Tim Graham 80493b0871 Fixed #27829 -- Deprecated settings.DEFAULT_CONTENT_TYPE. 2017-02-16 07:59:44 -05:00
Joon Hwan 김준환 a7214f0e84 Made a sentence in default_if_none docs consistent with other template filters. 2017-02-15 08:39:39 -05:00
Tim Graham 3d14cbc867 Removed docs/internals/roles.txt.
It's moved to https://www.djangoproject.com/foundation/teams/.
2017-02-15 09:31:41 +01:00
Tim Graham 103e6cf26c Fixed #27823 -- Updated mod_wsgi example to use WSGIPythonHome. 2017-02-13 19:52:08 -05:00
amalia 2f10216f84 Fixed #27820 -- Fixed RequestDataTooBig/TooManyFieldsSent crash. 2017-02-13 16:19:03 -05:00
Robert Roskam 98bcc5d81b Fixed #27367 -- Doc'd and tested reversing of URLs with the same name.
Thanks Reinout van Rees for contributing to the patch.
2017-02-11 08:58:40 -05:00
Mads Jensen fb5bd38e3b Refs #26610 -- Added CIText mixin and CIChar/Email/TextField. 2017-02-11 07:16:35 -05:00
Tim Graham 7b6e42089c Fixed #25978 -- Deprecated shorcuts.render_to_response(). 2017-02-11 05:49:04 -05:00