Daniel Wiesmann
2dc07da497
Fixed #27421 -- Added shape, size, and offset controls to GDALRaster constructor.
...
Thanks Tim Graham for the review.
2016-11-11 07:09:38 -05:00
Ian Lee
501c993010
Fixed typo in docs/ref/settings.txt.
2016-11-11 07:01:48 -05:00
Paweł Marczewski
50f9e736fa
Fixed #27438 -- Added the diffsettings --default option.
2016-11-10 07:50:49 -05:00
Tim Graham
0d6c7cae7c
Inlined a note in docs/ref/models/expressions.txt.
2016-11-09 08:20:59 -05:00
Jop Reyntjes
f8fab6f902
Fixed #27414 -- Doc'd that F() expressions on relations return pk values.
2016-11-09 07:11:46 -05:00
Mariusz Felisiak
c4b04e1598
Fixed #27420 -- Quoted the Oracle test user password in queries.
2016-11-08 16:30:22 -05:00
Tim Graham
7301770254
Fixed typo in docs/ref/middleware.txt.
2016-11-06 13:22:08 +01:00
Adam Malinowski
37809b891e
Fixed #27346 -- Stopped setting the Content-Length header in ConditionalGetMiddleware.
2016-11-05 22:24:54 +01:00
Tim Graham
7fe2d8d940
Fixed CVE-2016-9014 -- Validated Host header when DEBUG=True.
...
This is a security fix.
2016-11-01 09:30:57 -04:00
Marti Raudsepp
da7910d483
Fixed CVE-2016-9013 -- Generated a random database user password when running tests on Oracle.
...
This is a security fix.
2016-11-01 09:30:57 -04:00
Tim Graham
de91c172cf
Fixed #27410 -- Clarified when static files is enabled in STATIC_ROOT docs.
2016-10-31 15:17:40 -04:00
Mariusz Felisiak
55993d1e4e
Updated Oracle docs links to Oracle 12c.
2016-10-31 14:32:50 -04:00
Michael Scott
ec9ed07488
Fixed #27188 -- Allowed using unique=True with FileField.
...
Thanks Tim Graham for the initial patch.
2016-10-28 20:11:03 -04:00
Aymeric Augustin
625cd5bcb3
Added require_ready argument to get_model methods.
...
This allows bringing back the behavior of Django < 1.7.
Also fixed the check for the app registry being ready in
AppConfig.get_model(s), which was inconsistent with the equivalent check in
Apps.get_model(s). That part is a backwards-incompatible change.
2016-10-28 19:08:57 -04:00
Aymeric Augustin
efcb7e1ebf
Modified readiness check in AppConfig.get_model(s).
...
It was inconsistent with the equivalent check in Apps.get_model(s)
because I made incorrect assumptions when I wrote that code and
needlessly complicated readiness checks.
This is a backwards-incompatible change.
2016-10-28 18:42:29 -04:00
Tim Graham
414ad25b09
Fixed #27327 -- Simplified time zone handling by requiring pytz.
2016-10-27 08:53:20 -04:00
Jon Dufresne
c74378bb77
Fixed #27299 -- Documented the Widget.use_required_attribute() method.
...
Thanks Tim Graham for the review and edits.
2016-10-26 19:29:16 -07:00
Thomas Güttler
7cdc2015e3
Clarified when the post_migrate signal is sent during migrate.
2016-10-26 11:01:04 -04:00
Jon Dufresne
f3ea0c4bbd
Reverted "Fixed #26401 -- Added BaseAuthConfig to use auth without migrations."
...
This reverts commit 1ec1633cb2
as it
doesn't handle ContentType's auth.Permission dependency. Thus, it
doesn't allow auth without migrations.
2016-10-25 17:32:59 -07:00
Marti Raudsepp
51fbe2a60d
Updated postgresql.org links to https and made them canonical.
2016-10-25 11:43:32 -04:00
Zach Borboa
90c3b11e87
Fixed #27361 -- Used "from django import forms" in forms api docs.
2016-10-19 09:55:21 -04:00
Riccardo Magliocchetti
a4e9e834e3
Fixed ModelAdmin.get_max_num() example if obj is None.
2016-10-17 07:33:38 -04:00
Tim Graham
61f9243e51
Fixed #27345 -- Stopped setting the Date header in ConditionalGetMiddleware.
2016-10-14 12:48:03 -04:00
Kevin Christopher Henry
ad332e5ca9
Refs #19705 -- Made GZipMiddleware make ETags weak.
...
Django's conditional request processing can now produce 304 Not Modified
responses for content that is subject to compression.
2016-10-13 14:22:54 -04:00
Tim Graham
51b83d9e51
Fixed #27342 -- Corrected QuerySet.update_or_create() example.
2016-10-13 11:02:02 -04:00
Nick Pope
81463ce0a1
Fixed typo in docs/ref/checks.txt.
2016-10-11 10:32:32 -04:00
Denis Cornehl
a840710e1e
Fixed #26447 -- Deprecated settings.USE_ETAGS in favor of ConditionalGetMiddleware.
2016-10-10 14:55:59 -04:00
Zach Borboa
bf91be83d5
Fixed #24941 -- Added ModelAdmin.get_exclude().
...
Thanks Ola Sitarska for the initial patch.
2016-10-07 18:49:28 -04:00
Tim Graham
c60feb6999
Fixed #25475 -- Doc'd how to use a literal % in Func.template.
2016-10-07 10:24:45 -04:00
Adam Chainz
224fe22bf1
Doc'd that model instances with pk=None don't compare equal.
2016-10-07 09:01:18 -04:00
Mads Jensen
0a26f3c338
Fixed #26327 -- Added JsonAgg to contrib.postgres.
...
Thanks Tim Graham for review.
2016-10-07 07:52:03 -04:00
Tim Graham
e261337eea
Fixed docs typos in lines ending with a dash.
2016-10-06 11:01:20 -04:00
Aymeric Augustin
5d35181de4
Documented AppRegistryNotReady.
2016-10-06 10:21:57 -04:00
aruseni
9e26a8331d
Fixed typos in docs/ref/contrib/admin/javascript.txt.
2016-10-04 10:18:08 -04:00
aruseni
12b9aa279f
Fixed typo in docs/ref/contrib/admin/javascript.txt.
2016-10-04 10:13:10 -04:00
Tim Graham
fe1aee6b98
Fixed #27307 -- Added missing url names in sitemaps docs.
2016-10-03 16:04:30 -04:00
Claude Paroz
fa2f55cfd5
Refs #26940 -- Re-allowed makemessages without settings
...
Thanks Tim Graham for the review.
2016-10-01 14:57:16 +02:00
Tim Graham
87c5e7efeb
Refs #27186 -- Fixed model form default fallback for CheckboxSelectMultiple.
2016-09-30 14:49:50 -04:00
Tim Graham
79c91070e5
Confirmed support for PostGIS 2.3.
2016-09-30 10:00:04 -04:00
Tim Graham
cc282fa731
Updated links to the current version of PostGIS docs.
2016-09-30 09:26:20 -04:00
Tim Graham
9819676676
Updated links to the current version of MySQL docs.
2016-09-30 09:14:17 -04:00
Tim Graham
eb4d4376fc
Normalized spelling of "Web server/page" in docs.
2016-09-29 19:51:59 -04:00
Frank Wiles
a09c058918
Fixed import typos in the docs.
2016-09-29 12:06:52 -04:00
Christian Bundy
9c522d2ed8
Fixed typo in docs/ref/contrib/gis/install/postgis.txt.
2016-09-28 14:24:49 -04:00
Rinat Khabibiev
9e07a9b5fe
Fixed #27226 -- Removed patch_response_headers()'s setting of the Last-Modified header.
2016-09-28 09:09:09 -04:00
Austin Simmons
0f6829a68a
Fixed #27076 -- Documented contrib.admin.sites.AdminSite.register().
2016-09-27 12:16:44 -04:00
Berker Peksag
f7e91cac68
Fixed #27053 -- Documented contrib.auth.get_user().
2016-09-27 10:41:14 -04:00
Jonatas CD
6d6d1b1001
Fixed #27276 -- Doc'd how to reverse admin's login view.
2016-09-26 10:38:34 -04:00
Tim Graham
3507d4e773
Fixed #27186 -- Fixed model form default fallback for MultiWidget, FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget.
...
Thanks Matt Westcott for the review.
2016-09-22 12:20:58 -04:00
Mads Jensen
094d630ae8
Fixed #26610 -- Added CITextField to contrib.postgres.
2016-09-21 12:11:37 -04:00
zhuanyenan
17677d510f
Corrected docs for return type of Field.formfield().
2016-09-17 14:26:54 -04:00
Tim Graham
43c471e81c
Fixed typo in docs/ref/settings.txt.
2016-09-15 19:52:49 -04:00
Gavin Wahl
f0f3de3c96
Fixed #23155 -- Added request argument to user_login_failed signal.
2016-09-12 20:30:34 -04:00
Aleksej Manaev
4b9330ccc0
Fixed #25187 -- Made request available in authentication backends.
2016-09-12 20:11:53 -04:00
Simon Charette
767ba00976
Fixed #27209 -- Fixed typo in docs/ref/models/database-functions.txt.
...
Thanks Valentin Ignatyev for the report.
2016-09-12 08:07:30 -04:00
Jon Dufresne
1ec1633cb2
Fixed #26401 -- Added BaseAuthConfig to use auth without migrations.
2016-09-10 16:38:05 -07:00
Tim Graham
ef021412d5
Normalized spelling of ETag.
2016-09-09 11:00:21 -04:00
Jon Dufresne
331ca5391e
Fixed #27175 -- Deprecated silencing exceptions from the {% include %} template tag.
...
Thanks Tim Graham for the review.
2016-09-08 18:24:22 -07:00
Tim Graham
6a2af01452
Fixed #24865 -- Added remove_stale_contenttypes management command.
...
Thanks Simon Charette for the review.
2016-09-06 09:48:58 -04:00
Tim Graham
277fe2e8f2
Fixed #25788 -- Enabled the cached template loader if debug is False.
2016-09-03 09:06:33 -04:00
Claude Paroz
2ced2f785d
Replaced smart_* by force_* calls whenever possible
...
The smart_* version should only be used when a lazy string should keep
its lazy status.
2016-09-03 13:46:41 +02:00
Daniel Hahler
b1d6b0a7b1
Fixed #26098 -- Used cdnjs.cloudflare for OpenLayers.js.
2016-09-03 06:52:25 -04:00
Jeff Willette
bd3dc670b5
Fixed #27099 -- Documented list filter's has_output() method.
2016-09-02 09:41:13 -04:00
Sergei Maertens
32c02f2a0e
Fixed #5908 -- Added {% resetcycle %} template tag.
...
Thanks to Simon Litchfield for the report, Uninen for the initial
patch, akaihola, jamesp, b.schube, and Florian Appoloner for
subsequent patches, tests, and documentation.
2016-09-01 15:52:21 -04:00
Riccardo Magliocchetti
7ed8b98f42
Clarified URL regex check message with respect to include().
2016-09-01 14:06:45 -04:00
Claude Paroz
6b54504e66
Refs #27162 -- Complemented docs related to CreateExtension
...
Thanks Tim Graham for the review.
2016-09-01 15:59:46 +02:00
Jon Dufresne
ff1e7b4eb4
Fixed #25181 -- Added localdate() function to get date in a different time zone.
...
Thanks Konrad Świat for the original patch.
2016-08-31 17:19:33 -07:00
Ed Morley
1d54fb4483
Made settings docs link to cache parameters more specific.
2016-08-31 12:31:30 -04:00
Tim Graham
3f16e4df49
Fixed #27145 -- Updated Storage.save() docs for refs #18899 .
2016-08-30 21:35:12 -04:00
Kevan Swanberg
35504f74a8
Fixed #26685 -- Added dwithin lookup support on SpatiaLite.
2016-08-30 20:45:47 -04:00
Baptiste Mispelon
61b45dff6b
Fixed #27126 -- Made {% regroup %} return a namedtuple to ease unpacking.
2016-08-26 16:59:21 -04:00
Baptiste Mispelon
7968bb7fad
Fixed incorrect variable name in {% regroup %} docs.
2016-08-26 16:25:18 -04:00
Mattias Loverot
2315114090
Fixed #27067 -- Deprecated string_concat() in favor of format_lazy().
2016-08-25 16:12:40 -04:00
Claude Paroz
13c3e5d5a0
Fixed #25995 -- Added an encoder option to JSONField
...
Thanks Berker Peksag and Tim Graham for the reviews.
2016-08-25 21:42:42 +02:00
Berker Peksag
426bca002c
Fixed #26816 -- Corrected an admin check to require inlines to subclass InlineModelAdmin.
2016-08-24 17:34:32 -04:00
Mattias Loverot
9aaeec337e
Fixed #26866 -- Added format_lazy function
...
Added format_lazy function to django.utils.text module.
Useful when dealing with relative complex lazy string concatenations
(e.g. in urls.py when translating urls in regular expressions).
2016-08-24 18:18:17 +02:00
Collin Anderson
384f89f8f8
Fixed #26998 -- Reverted some admin checks from checking field.many_to_many back to isinstance(field, models.ManyToManyField).
...
This partially reverts 983c158da7
2016-08-23 16:00:12 -04:00
Chris Jerdonek
a3db480393
Fixed #27061 -- Added a TEST['TEMPLATE'] setting for PostgreSQL.
2016-08-23 15:08:20 -04:00
Abhishek Bera
f3b601f11a
Fixed #26987 -- Documented using QuerySet.get() without arguments.
2016-08-19 17:15:33 -04:00
Tim Graham
f8c338ec6a
Refs #25854 -- Completed a RequestContext docs example.
2016-08-18 21:11:27 -04:00
Jon Dufresne
f5c6d3c8d9
Fixed #27068 -- Unified form field initial data retrieval.
2016-08-18 17:55:47 -07:00
Ian Foote
39f35d4b9d
Fixed #25871 -- Added expressions support to QuerySet.values().
2016-08-18 16:05:15 -04:00
Kevin Christopher Henry
ff445f4c19
Fixed #26616 -- Clarified model usage in AppConfig.ready().
2016-08-17 10:34:51 -04:00
Jon Dufresne
4773ed2e31
Fixed incorrect doc reference to Field.initial.
2016-08-17 10:27:33 -04:00
Akshesh
7c9bd07f69
Clarified when activating the btree_gin extension is necessary.
2016-08-16 09:03:13 -04:00
Victor Oliveira da Silva
d7804662f8
Made cosmetic edits to Field.default docs.
2016-08-15 10:44:39 -04:00
Chris Jerdonek
5890b1613c
Fixed #27008 -- Added --debug-mode option to DiscoverRunner.
2016-08-12 20:43:17 -04:00
Tim Graham
9556005425
Fixed #27048 -- Documented that refresh_from_db() doesn't reload @cached_properties.
2016-08-12 18:49:21 -04:00
Akshesh
6e07ec3f65
Fixed #27030 -- Added contrib.postgres.indexes.GinIndex.
2016-08-12 18:37:03 -04:00
Akshesh
236baa0f0e
Refs #27030 -- Added BtreeGinExtension operation.
2016-08-12 18:37:00 -04:00
Tim Graham
e1acc9dc66
Removed some unnecessary repetition in PostgreSQL operations docs.
2016-08-12 18:03:19 -04:00
Akshesh
311a8e8d50
Fixed #20888 -- Added support for column order in class-based indexes.
2016-08-12 15:52:16 -04:00
Tim Graham
6b83f61e72
Fixed #27050 -- Corrected django.setup()'s parameter name in docs.
2016-08-11 07:01:55 -04:00
Ed Morley
7399fee6c3
Refs #26947 -- Added a deployment system check for SECURE_HSTS_PRELOAD.
2016-08-10 20:31:01 -04:00
Ed Morley
3c2447dd13
Fixed #26947 -- Added an option to enable the HSTS header preload directive.
2016-08-10 20:23:54 -04:00
Sergey Fedoseev
0d18b06562
Documented GeoHash's precision parameter.
2016-08-10 16:32:08 -04:00
Claude Paroz
ade681b9ad
Unified SpatiaLite spelling
2016-08-09 18:46:28 +02:00
Ed Morley
8c3bc5cd78
Fixed docs to refer to HSTS includeSubdomains as a directive.
...
The spec refers to it as a 'directive' rather than a 'tag':
https://tools.ietf.org/html/rfc6797#section-6.1.2
2016-08-08 20:20:49 -04:00
Simon Charette
b8e6e1b43b
Fixed #26500 -- Added SKIP LOCKED support to select_for_update().
...
Thanks Tim for the review.
2016-08-08 12:01:43 -04:00
Johannes Dollinger
46509cf13d
Moved EmpytResultSet to django.core.exceptions.
...
This removes the need for some inner imports.
2016-08-08 10:43:34 -04:00