Alvin Lindstam
6b5106b1ce
Fixed #27374 -- Made JavaScriptCatalog respect the packages argument.
2016-10-22 19:26:08 -04:00
Jon Dufresne
9b9c8c4a81
Fixed #27368 -- Modifed BaseEmailBackend.__enter__() to close the connection if an exception occurs.
...
Fixes unclosed socket ResourceWarning in mail test.
Thanks Claude Paroz for the review.
2016-10-21 05:59:07 -07:00
Claude Paroz
1f5b69917d
Optimized file copy in TemplateCommand
2016-10-20 16:59:01 +02:00
Claude Paroz
d75c2ccaa0
Removed note about obsolete Python version
2016-10-20 16:39:14 +02:00
Zach Borboa
90c3b11e87
Fixed #27361 -- Used "from django import forms" in forms api docs.
2016-10-19 09:55:21 -04:00
Markus Holtermann
b5fc192b99
Fixed #27352 -- Doc'd social media fingerprinting consideration with login's redirect_authenticated_user.
2016-10-18 11:37:56 -04:00
Kevin Christopher Henry
2327fad54e
Fixed #27344 -- Made ConditionalGetMiddleware only process GET requests.
2016-10-17 16:11:53 -04:00
Riccardo Magliocchetti
a4e9e834e3
Fixed ModelAdmin.get_max_num() example if obj is None.
2016-10-17 07:33:38 -04:00
François Freitag
86bb9a0502
Refs #20888 -- Fixed index ordering introspection on PostgreSQL 9.6.
2016-10-17 07:16:13 -04:00
Tim Graham
50864b402b
Removed unused branch in ModelIterable.__iter__().
...
Unknown if it was ever used.
2016-10-15 10:19:47 -04:00
Tim Graham
5d1941adcf
Removed unused 'field' argument to DeleteQuery.delete_batch().
...
Unused since a170c3f755
.
2016-10-15 10:19:02 -04:00
Tim Graham
af98a0a25e
Updated security policy according to current practices.
...
Also added security release date notifications to django-announce.
2016-10-15 07:53:08 -04:00
Tim Graham
274b227796
Removed DatabaseFeatures.can_combine_inserts_with_and_without_auto_increment_pk.
...
Unused (always False) after 29132ebdef
.
2016-10-14 17:18:28 -04:00
Tim Graham
8997750c43
Removed unused QuerySet.value_annotation attribute.
...
Unused since 5008a4db44
.
2016-10-14 16:46:37 -04:00
Mariusz Felisiak
5a772a0b7b
Fixed #27324 -- Simplified DatabaseIntrospection.get_constraints() on Oracle.
2016-10-14 13:59:13 -04:00
David D Lowe
424187ec4b
Fixed #27349 -- Doc'd the CSRF_FAILURE_VIEW setting in view topic guide.
2016-10-14 13:46:54 -04:00
Tim Graham
61f9243e51
Fixed #27345 -- Stopped setting the Date header in ConditionalGetMiddleware.
2016-10-14 12:48:03 -04:00
Tim Graham
b679a3cdb1
Tested QuerySet compatibility check.
...
cdfdcf4b70
missed this test.
2016-10-14 08:51:04 -04:00
Kevin Christopher Henry
9108696a75
Refs #19705 -- Changed gzip modification times to 0.
...
This makes gzip output deterministic, which allows
ConditionalGetMiddleware to reliably compare ETags on gzipped
content (views using the gzip_page() decorator in particular).
2016-10-14 07:41:42 -04:00
Kevin Christopher Henry
9eb49af821
Refs #19705 -- Documented decorator ordering with @condition().
2016-10-14 07:36:01 -04:00
Tim Graham
4cfccc713a
Tested invalid QuerySet.order_by() arguments.
2016-10-13 21:49:19 -04:00
Tim Graham
f2dc6b3a99
Removed unused InsertQuery.clone().
...
Unknown if it was ever needed.
2016-10-13 16:58:43 -04:00
Tim Graham
3b2db6ec12
Removed unneeded try/except in Query.names_to_path().
2016-10-13 16:56:54 -04:00
Tim Graham
df1796b13f
Removed unused branch in SQLUpdateCompiler.as_sql().
...
Unknown if it was ever needed.
2016-10-13 16:56:26 -04:00
Tim Graham
419de7b00d
Removed unused branch in Query.change_aliases().
...
Unused since 0c7633178f
.
2016-10-13 14:35:10 -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
816eae3508
Removed unused EmptyResultSets in SQLCompilers.
...
Unused since ed1bcf0515
.
2016-10-13 12:12:58 -04:00
Tim Graham
cd09524f27
Fixed #27200 -- Provided makemigration's allow_migrate() with model_name.
2016-10-13 11:04:58 -04:00
Tim Graham
51b83d9e51
Fixed #27342 -- Corrected QuerySet.update_or_create() example.
2016-10-13 11:02:02 -04:00
Halil Kaya
2027d6acf7
Fixed #26954 -- Prevented ModelAdmin.has_module_permission()=False from blocking access to the app index page.
2016-10-13 09:11:36 -04:00
João Sampaio
74a575eb72
Fixed #24607 -- Serialized natural keys in multi-table inheritance models.
2016-10-12 20:04:57 -04:00
Mariusz Felisiak
794f866cec
Fixed #27323 -- Optimized Oracle introspection by using USER_SEQUENCES instead of USER_CATALOG.
2016-10-12 18:58:33 -04:00
Claude Paroz
458e2fbfcc
Fixed #27333 -- Prevented BASE64 encoding in message.as_string() on Python 3
...
Thanks Tim Graham for the review.
2016-10-12 20:48:09 +02:00
Kevin Christopher Henry
bd7237d7ec
Fixed #19705 -- Set proper headers on conditional Not Modified responses.
2016-10-12 14:43:25 -04:00
Tim Graham
b2f9db1637
Removed redundant usage of assertNotIn() in a mail test.
...
The Content-Transfer-Encoding header won't be repeated, so checking
the header is sufficient.
2016-10-12 14:26:17 -04:00
Tim Graham
a3a10f8abe
Removed unused SubqueryConstraint.relabel_aliases() and clone() methods.
...
Unused since b68212f539
.
2016-10-12 08:18:56 -04:00
Tim Graham
e1f6eba033
Fixed nonexistent tmc.edu domain in GeoIP test.
...
The test was silently skipped.
2016-10-11 19:31:13 -04:00
Tim Graham
d4cfeca006
Tested Model.get_next/prev_by_FIELD() on unsaved models.
2016-10-11 12:09:37 -04:00
Nick Pope
f1664a2734
Replaced '__' with LOOKUP_SEP constant.
2016-10-11 11:14:06 -04:00
Nick Pope
a346a88d46
Added missing roles/options to parse_color_setting()'s docstring.
2016-10-11 10:39:32 -04:00
Nick Pope
81463ce0a1
Fixed typo in docs/ref/checks.txt.
2016-10-11 10:32:32 -04:00
Tim Graham
4ba206ca63
Removed unused contrib.admin.utils.remove_trailing_data_field().
...
Unused since 8f30556329
.
2016-10-10 20:57:48 -04:00
Tim Graham
80f5a4d87a
Doc'd the need to provide initial for formset submissions.
2016-10-10 15:36:21 -04:00
Denis Cornehl
a840710e1e
Fixed #26447 -- Deprecated settings.USE_ETAGS in favor of ConditionalGetMiddleware.
2016-10-10 14:55:59 -04:00
Tim Graham
46a3d7604e
Fixed gis_tests.geoapp when run in isolation.
...
"from django.db.models import *" in contrib/gis/db/models/__init__.py could
obscure gis's functions.py resulting in exceptions like:
"module 'django.db.models.functions' has no attribute 'Union'".
2016-10-10 10:13:01 -04:00
Tim Graham
19a140a1b3
Added template syntax highlighting in docs/topics/i18n/timezones.txt.
2016-10-08 08:07:06 -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
Markus Holtermann
f8deed7199
Updated security team roster.
2016-10-07 10:14:22 -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