Claude Paroz
8dc3ba5ceb
Removed obsolete supports_* auth backend attributes in tests
2015-09-20 12:16:28 +02:00
Raphael Merx
f5a33e4840
Fixed #25296 -- Prevented model related object cache pollution when create() fails due to an unsaved object.
2015-09-19 20:49:13 -04:00
Tim Graham
c21410aeeb
Fixed typo in "pbkdf2" test names.
2015-09-19 20:44:37 -04:00
Tim Graham
00adec6d5f
Refs #25135 -- Corrected the timeline section of allow_tags deprecation.
2015-09-19 20:36:39 -04:00
Tim Graham
ebaa24f588
Removed unused sections in 1.9 release notes.
2015-09-19 20:18:42 -04:00
Tim Graham
bed83e0fb5
Alphabetized a few sections in the 1.9 release notes + made a few tweaks.
2015-09-19 20:15:39 -04:00
Alasdair Nicol
15ce1a735c
Used more specific assertion in check_framework tests.
2015-09-19 18:35:05 -04:00
Flavio Curella
95edabb45e
Fixed #25430 -- Fixed incorrect RunSQL examples.
2015-09-19 18:11:43 -04:00
Aymeric Augustin
c3904deb91
Fixed #25160 (again) -- Moved data loss check on reverse relations.
...
Moved data loss check when assigning to a reverse one-to-one relation on
an unsaved instance to Model.save(). This is exactly the same change as
e4b813c
but for reverse relations.
2015-09-19 20:27:53 +02:00
Unai Zalakain
a4b80e2421
Refs #13110 -- Fixed mistakes in the new multiple enclosure feed tests
2015-09-19 15:54:33 +02:00
Travis Jensen
1a09b3c398
Fixed #25424 -- Use force_str for test client URLs.
...
urlparse() fails with an AttributeError ("'__proxy__' object has no
attribute 'decode'") if reverse_lazy is used to look up the URL
(this is exactly the same problem that caused ticket #18776 ). The
solution is to use force_str() on the path before handing it to
urlparse().
2015-09-19 15:05:54 +02:00
Markus Holtermann
43f2eb7ef3
Fixed #25390 -- Allowed specifying a start migration in squashmigrations
...
Thanks Tim Graham for the review.
2015-09-19 14:55:34 +10:00
Markus Holtermann
5aa55038ca
Fixed #24743 , #24745 -- Optimized migration plan handling
...
The change partly goes back to the old behavior for forwards migrations
which should reduce the amount of memory consumption (#24745 ). However,
by the way the current state computation is done (there is no
`state_backwards` on a migration class) this change cannot be applied to
backwards migrations. Hence rolling back migrations still requires the
precomputation and storage of the intermediate migration states.
This improvement also implies that Django does not handle mixed
migration plans anymore. Mixed plans consist of a list of migrations
where some are being applied and others are being unapplied.
Thanks Andrew Godwin, Josh Smeaton and Tim Graham for the review as well
as everybody involved on the ticket that kept me looking into the issue.
2015-09-19 14:54:53 +10:00
fabrizio ettore messina
186eb21dc1
Fixed #25269 -- Allowed method_decorator() to accept a list/tuple of decorators.
2015-09-18 19:04:29 -04:00
sujayskumar
d8d853378b
Fixed #24944 -- Added extra_email_context parameter to password_reset() view.
2015-09-18 18:56:04 -04:00
Unai Zalakain
aac2a2d2ae
Fixed #13110 -- Added support for multiple enclosures in Atom feeds.
...
The ``item_enclosures`` hook returns a list of ``Enclosure`` objects which is
then used by the feed builder. If the feed is a RSS feed, an exception is
raised as RSS feeds don't allow multiple enclosures per feed item.
The ``item_enclosures`` hook defaults to an empty list or, if the
``item_enclosure_url`` hook is defined, to a list with a single ``Enclosure``
built from the ``item_enclosure_url``, ``item_enclosure_length``, and
``item_enclosure_mime_type`` hooks.
2015-09-18 18:31:58 -04:00
Simon Charette
71ebcb85b9
Fixed #25417 -- Added a field check for invalid default values.
2015-09-18 14:31:36 -04:00
Iulia Chiriac
75ed590032
Fixed #24636 -- Added model field validation for decimal places and max digits.
2015-09-18 14:30:20 -04:00
Mariusz Felisiak
6f1b09bb5c
Made assorted improvements to the Oracle documentation.
2015-09-18 09:47:32 -04:00
Hynek Cernoch
4b9d063da0
Refs #17785 -- Made docstring for sqlite3's get_relations() consistent with other backends.
2015-09-18 09:32:36 -04:00
Tim Graham
d074926ca1
Dropped support for Oracle 11.1.
2015-09-18 09:18:09 -04:00
Thomas Orozco
d49667ef26
Refs #25422 -- Added a test for a template tag with type annotations.
...
This doesn't work in Django 1.8 but was fixed in Django 1.9 as a
side effect of another change.
2015-09-18 08:10:38 -04:00
Tom Christie
b02f08e02c
Fixed #25034 -- Converted caches ImproperlyConfigured error to a system check.
2015-09-18 07:44:39 -04:00
Aric Coady
f33b3ebd53
Refs #20625 -- Forwardported tests and release notes for queryset chaining fix.
...
The issue was fixed on master due to the removal of ValuesQuerySet.
Partial forwardport of 7d471fe662
from stable/1.8.x
2015-09-17 19:22:53 -04:00
Tim Graham
abd33d80db
Removed obsolete pysqlite documentation.
...
These steps are no longer needed as of pysqlite 2.7.0.
76f34850be
2015-09-17 18:41:37 -04:00
Aymeric Augustin
4f6a7663bc
Refs #14091 -- Fixed connection.queries on SQLite.
2015-09-17 23:01:33 +02:00
Tim Graham
fc8a6a9b00
Added a version requirement to mysqlclient in test requirements.
2015-09-17 15:07:26 -04:00
Tim Graham
12a62e7e4b
Added a version requirement to python-memcached in test requirements.
2015-09-17 15:07:11 -04:00
Simon Charette
4d886db078
Removed the unused JoinPromoter.outer_votes attribute.
2015-09-17 13:47:06 -04:00
Tim Graham
7506616f16
Refs #24215 -- Fixed Python 3.5 compatiblity for unhandled lazy ops error.
2015-09-17 10:06:52 -04:00
Daniel Hahler
da5747f8e4
Fixed #25400 -- Fixed regression in nonexistent features on gis backends.
2015-09-17 09:30:46 -04:00
Moritz Sichert
8550161e53
Refs #25294 -- Moved BoundField to django.forms.boundfield.
2015-09-16 14:43:38 -04:00
Gavin Wahl
0603f09318
Refs #25149 -- Fixed regression in admin datetime widget for timezones on the negative side of UTC.
2015-09-16 13:16:21 -04:00
Matt Robenolt
b0c56b895f
Fixed #24496 -- Added CSRF Referer checking against CSRF_COOKIE_DOMAIN.
...
Thanks Seth Gottlieb for help with the documentation and
Carl Meyer and Joshua Kehn for reviews.
2015-09-16 12:21:50 -04:00
Moritz Sichert
535809e121
Fixed #25294 -- Allowed custom BoundFields on forms.
2015-09-16 10:18:07 -04:00
Matthew Crowson
8615e41586
Fixed typo in django/core/cache/backends/base.py docstring.
2015-09-16 09:29:56 -04:00
David Gibbons
91e3d1215b
Updated docs coverage example to run in a single process.
2015-09-16 08:20:29 -04:00
James Bennett
ffec5a2efc
Merge pull request #5291 from stephenpaulger/master
...
Remove unnecessarily rude terminology.
2015-09-16 06:56:34 -05:00
Stephen Paulger
443dffbeb2
Remove unnecessarily rude terminology.
2015-09-16 12:05:28 +01:00
Dave Smith
b53b4d5c10
Fixed #25404 -- Added line numbers to TemplateSyntaxError strings.
...
This makes it much easier to diagnose a test failure when all
you have is the stack trace from an uncaught TemplateSyntaxError.
2015-09-15 12:25:13 -04:00
Daniel Hahler
d731cf5caf
Added upgrade tip in BaseCommand.option_list deprecation comment.
2015-09-15 12:06:29 -04:00
Aymeric Augustin
7673759321
Fixed runtests.py message about parallel processes.
...
It didn't work anymore since the commit that enabled test
parallelization by default because parallel was equal to 0
at that point.
2015-09-14 22:52:04 +02:00
Aymeric Augustin
2425f6fda0
Prevented --parallel from crashing on Windows.
...
Since --parallel is documented not to work on Windows, it's better to
ignore it and run without parallelization than to crash. For example
this could simplify cross-platform test scripts.
2015-09-14 22:52:04 +02:00
Tim Graham
64d7a553e1
Fixed #25369 -- Corrected syndication's get_object() example.
2015-09-14 15:30:01 -04:00
Tim Graham
83ea3bc798
Reverted "Fixed #25203 -- Documented how to pass Apache environment variables to Django."
...
As discussed on the ticket, this isn't a pattern we should recommend.
This reverts commit 47016d4322
.
2015-09-14 14:12:31 -04:00
Adam Chainz
3fe3887a2e
Fixed #25377 -- Changed Count queries to execute COUNT(*) instead of COUNT('*').
2015-09-14 13:41:35 -04:00
Ville Skyttä
4d933ad418
Fixed #25393 -- Fixed MySQL crash when adding text/blob field with unhashable default.
2015-09-14 12:25:08 -04:00
Kholid Fuadi
b8b776aabe
Fixed typo in django/forms/utils.py docstring.
2015-09-14 08:49:15 -04:00
Tim Graham
f3e5a74646
Refs #25386 -- Added links to the OPTIONS of the built-in template backends.
2015-09-12 18:42:25 -04:00
Dražen Odobašić
b1e33ceced
Fixed #23395 -- Limited line lengths to 119 characters.
2015-09-12 11:40:50 -04:00