0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
Commit Graph

21672 Commits

Author SHA1 Message Date
Patryk Zawadzki
7628f87e2b Fixed #25750 -- Made Options._expire_cache() faster
Avoided unnecessary list operations and delattr() calls that result
in an exception being raised as it causes call frame reconstruction
which is very costly, especially so in a function that is called
millions of times.
2015-11-14 16:43:46 -05:00
Tim Graham
6c01010de6 Added technical board for 1.10 release cycle. 2015-11-14 15:55:28 -05:00
Jaap Roes
1aba0e4c68 Refs #25501 -- Fixed a typo in django/core/cache/backends/filebased.py
The original intent in refs #20536 was to use the highest protocol.
Calling zlib.compress() with a compression level of -1 seems to
fall back to the default level of 6.
2015-11-14 15:10:14 -05:00
Florian Demmer
25b912abbe Fixed #17686, refs #17816 -- Added "Files" section to Unicode topic.
Thanks Fako Berkers for help with the patch.
2015-11-14 12:01:51 -05:00
Simon Charette
1c5f4e86bc Fixed #25745 -- Promoted RuntimeWarnings to errors in the test suite. 2015-11-14 11:33:28 -05:00
Simon Charette
d95b22bd56 Refs #25745 -- Isolated some postgres array field check tests. 2015-11-14 11:33:28 -05:00
Simon Charette
64240263f2 Refs #25745 -- Avoided multiple registration of the same model in schema tests. 2015-11-14 11:33:28 -05:00
Simon Charette
2eefbca1a4 Refs #25745 -- Isolated a foreign_object test. 2015-11-14 11:33:28 -05:00
Simon Charette
406de4c243 Refs #25745 -- Isolated an order_with_respect_to test. 2015-11-14 11:33:28 -05:00
Tim Graham
e9673c657a Cleaned up admin_filters' docstrings. 2015-11-14 11:30:24 -05:00
Tim Graham
b1b14587ae Fixed admin_filters test failures when run in reverse. 2015-11-14 11:30:24 -05:00
Dmitry Dygalo
263b3d2ba1 Fixed #25666 -- Fixed the exact lookup of ArrayField. 2015-11-14 11:21:16 -05:00
arniu
b8f78823ee Made doc icon's edges smooth. 2015-11-14 08:11:47 -05:00
Baptiste Mispelon
9bc0c21b1c Made BaseCommand.get_version() docstring consistent with docs. 2015-11-14 07:58:58 -05:00
Tim Graham
ce737ac678 Fixed #25647 -- Reverted "Simplified deduplication of test databases."
This reverts commit 49eee84245 as it caused
a regression with test mirrors.
2015-11-14 07:52:21 -05:00
Tim Graham
abcdb237bb Refs #25196 -- Fixed incorrect argument order in test database creation. 2015-11-13 11:29:35 -05:00
Tim Graham
f85e3cb7cb Updated release checksums template. 2015-11-13 09:05:10 -05:00
Nicolas Delaby
2608799439 Checked DateTimeTZRange/DateRange conversion in postgres_tests. 2015-11-13 08:10:59 -05:00
Tom Christie
a32538279c Tweaked example text in docs/ref/templates/builtins.txt. 2015-11-13 07:38:40 -05:00
Tim Graham
2514e044a7 Bumped mysqlclient test requirement to >= 1.3.7.
mysqlclient 1.3.7 fixes the test failures caused by 1.3.6.
2015-11-12 21:34:00 -05:00
Andrey Kuzmin
815f4d206d Fixed #25606 -- Added support for "__" lookup in RelatedOnlyFieldList 2015-11-12 19:50:54 -05:00
msaelices
7624fdb9f8 Fixed #25283 -- Fixed collectstatic crash if a URL contains a fragment with a path.
A @font-face declaration may contain a fragment that looks like a relative path,
e.g. @font-face { src: url('../fonts/font.svg#../path/like/fragment'); }
In this case, an incorrect path was passed to the storage backend, which raised
an error that caused collectstatic to crash.
2015-11-12 19:30:48 -05:00
Anderson Resende
ce4914eab4 Fixed #25744 -- Corrected reference to User object in auth docs. 2015-11-12 19:22:30 -05:00
Aaron Elliot Ross
19a5f6da32 Fixed #25469 -- Added autoescape option to DjangoTemplates backend.
Thanks Aymeric for the initial patch and Carl for review.
2015-11-12 19:14:23 -05:00
Tim Graham
a8f05f405f Replaced "inbuilt" with more common "built-in". 2015-11-12 17:29:03 -05:00
Bryan Marty
9788625277 Fixed #25169 -- Documented stacking of permission_required and login_required. 2015-11-12 14:23:59 -05:00
Jaap Roes
9a2aca6030 Fixed #25743 -- Optimized utils.localize() and localize_input()
Bail early if the input is a string since that's the most common case.
2015-11-12 13:24:53 -05:00
Tim Graham
91a431f48c Fixed #10045 -- Corrected docs about .annotate()/.filter() ordering.
Thanks Josh, Anssi, and Carl for reviews and advice.
2015-11-12 12:29:59 -05:00
Hasan
8c553e7d3f Fixed #25688 -- Made admin.register() disallow an empty list of models. 2015-11-12 09:54:43 -05:00
Simon Charette
c550beb0cc Fixed #25723 -- Made related field checks lookup against their local apps. 2015-11-11 19:33:54 -05:00
Razzi Abuissa
c819780d3f Removed gendered pronoun in a code comment. 2015-11-11 17:07:13 -05:00
Tim Graham
34bb6c0cb7 Refs #24937 -- Forwardport of 1.8.7 release note.
Forwardport of 3ded51bcf2 from stable/1.8.x
2015-11-11 16:58:47 -05:00
Alex Morozov
e171a83b15 Fixed #25548 -- Prevented FormView.form_invalid() from discarding its form argument. 2015-11-11 13:28:34 -05:00
Simon Charette
cc8c02fa0f Refs #25693 -- Added a regression test for to_attr validation on forward m2m. 2015-11-11 12:25:10 -05:00
Simon Charette
4a9c32f5ee Refs #25693 -- Avoided redundant calls to get_fields() in to_attr validation. 2015-11-11 12:25:10 -05:00
Simon Charette
4cd5d846d4 Fixed #25730 -- Made Model.__str__() always return str instances.
Thanks to Kevin Turner for the report and Tim for the review.
2015-11-11 12:18:52 -05:00
Neal Todd
74365585e2 Fixed #25732 -- Updated template system design philosophy.
Removed the bit about not allowing assignment to variables
because simple_tag now allows this.
2015-11-11 11:49:51 -05:00
arniu
cb32292176 Made doc icons background transparent. 2015-11-11 11:37:28 -05:00
Sergey Fedoseev
34669ea6b8 Fixed #25728 -- Fixed description of GEOSGeometry.contains(). 2015-11-11 09:34:58 -05:00
Marti Raudsepp
d3e3703a15 Fixed #25720 -- Made gettext() return bytestring on Python 2 if input is bytestring.
This is consistent with the behavior of Django 1.7.x and earlier.
2015-11-11 08:56:10 -05:00
Tim Graham
4c593eaa5f Updated six to 1.10.0. 2015-11-10 22:05:48 -05:00
Tim Graham
e0de82c9b2 Fixed #25727 -- Added a doc link to cached_property. 2015-11-10 13:28:14 -05:00
Ian Foote
4608573788 Fixed #25693 -- Prevented data loss with Prefetch and ManyToManyField.
Thanks to Jamie Matthews for finding and explaining the bug.
2015-11-10 12:12:07 -05:00
Tim Graham
dbbae2cead Refs #25618 -- Forwardported 1.8.7 release note.
Forwardport of 8c8a6d8a3f from stable/1.8.x
2015-11-10 10:42:32 -05:00
Tim Graham
bc6eaca304 Removed obsolete note about installing psycopg2 on Windows.
psycopg2 now publishes binary wheel files for Windows
so you can install it using pip.
2015-11-10 09:59:23 -05:00
Mattia Larentis
2085d8d5bc Fixed #25170 -- Made assertXMLEqual()/assertXMLNotEqual() ignore leading and trailing whitespace.
Thanks Jacek Bzdak for indepdently contributing a similar fix.
2015-11-09 15:53:30 -05:00
Laura Feier
7862cbda86 Fixed #24576 -- Made deletion of related objects deterministic. 2015-11-09 15:04:48 -05:00
Dwight Gunning
1f29164ced Fixed #6727 -- Made patch_cache_control() patch an empty Cache-Control header. 2015-11-09 14:26:29 -05:00
Marti Raudsepp
1155843a41 Fixed #25683 -- Allowed ModelChoiceField(queryset=...) to accept Managers.
This fixes a regression from refs #25496.
2015-11-09 12:42:36 -05:00
Tim Graham
c6da4b0c68 Refs #25686 -- Forwardported 1.8.7 release note. 2015-11-09 10:58:48 -05:00