Commit Graph

21792 Commits

Author SHA1 Message Date
Raphael Merx 0a19f8d4fc Fixed #25644 -- Fixed reset cookie expiry date bug.
Setting a cookie with the same name as a previously deleted cookie
would set its expiry date to 'Thu, 01-Jan-1970 00:00:00 GMT'.
2015-11-18 07:47:40 -05:00
Tim Graham 6258e16335 Refs #24971, #25356 -- Clarified how apps.py works in 1.9 release notes. 2015-11-17 19:32:32 -05:00
Tim Graham acd3606049 Removed blank line to appease isort. 2015-11-17 19:01:06 -05:00
Elena Oat d26207d56c Fixed #25526 -- Documented how to output colored text in custom management commands. 2015-11-17 15:06:13 -05:00
Attila Tovt 0a2d3b7387 Fixed #25682 -- Removed bare except clauses. 2015-11-17 14:39:15 -05:00
Raphael Michel 16945f0e9c Fixed #25695 -- Added template_name parameter to csrf_failure() view. 2015-11-17 14:28:18 -05:00
Tim Graham 20d2778597 Removed obsolete comments about Django 1.10 in two test files. 2015-11-17 10:42:22 -05:00
Alex Morozov 5abed864ee Fixed #25710 -- Clarified the docs about what INTERNAL_IPS does. 2015-11-17 10:16:29 -05:00
Dmitry Dygalo 92eced62cd Simplified lists creation in three places. 2015-11-17 07:58:49 -05:00
Tim Graham 02d974ceb5 Fixed typo in docs/releases/1.9.txt. 2015-11-16 19:34:12 -05:00
Tim Graham c315f96024 Removed a docs workaround for an old Sphinx version. 2015-11-16 18:49:32 -05:00
Tim Graham a80d70dd10 Refs #23751 -- Added some unicode characters to the latex preamble.
Thanks Graham Wideman for the patch.
2015-11-16 18:49:32 -05:00
Tim Graham e48a5b5a03 Fixed #23751 -- Fixed code snippet formatting in docs PDF.
Thanks Graham Wideman for the patch.
2015-11-16 18:49:31 -05:00
Tim Graham 101dbeb673 Corrected outdated information in submitting patches guide. 2015-11-16 09:59:56 -05:00
Mikey Ariel c9432c44fb Changed section title from "Model syntax" to "Introduction to models". 2015-11-16 09:53:57 -05:00
Tim Graham 21c82646fe Documented how to see the full traceback of a test failure. 2015-11-16 09:12:26 -05:00
Agnieszka Lasyk 1f8dad6915 Fixed #25755 -- Unified spelling of "website". 2015-11-16 06:44:14 -05:00
Claude Paroz 53326e2c8a Updated contrib.admin translation catalog
Forward port of 5234c9937 from stable/1.9.x
2015-11-15 11:10:25 +01:00
René Fleschenberg 2c72710111 Fixed #25531 -- Documented that admin_order_field supports lookups. 2015-11-14 17:31:21 -05:00
Tim Graham 931b946e29 Fixed typo in docs/ref/migration-operations.txt. 2015-11-14 17:19:45 -05:00
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