Commit Graph

19015 Commits

Author SHA1 Message Date
Markus Holtermann 98da408964 Fixed #23670 -- Prevented partial import state during module autodiscovery
Thanks kostko for the report.
2014-10-31 08:01:47 -04:00
Aymeric Augustin c0c1bb9e64 Avoided using private API get_template_from_string. 2014-10-31 11:38:53 +01:00
Simon Charette f2ddc439b1 Fixed #23656 -- Made FormMixin.get_form's form_class argument optional.
Thanks Tim Graham for the review.
2014-10-30 19:10:52 -04:00
Tim Graham 19242c675f Fixed #23735 -- Clarified that admindocs must be enabled to view template tag libraries in admin.
Thanks Aymeric Augustin for the report.
2014-10-30 19:04:10 -04:00
Tim Graham e7cb4f2fba Fixed #23736 -- Corrected the description of the value that silent_variable_failure uses.
Thanks Aymeric Augustin for the report.
2014-10-30 18:42:54 -04:00
Tim Graham f85fcc75e3 Fixed #23737 -- Recommended the render() shortcut more strongly.
Thanks Aymeric Augustin for the report.
2014-10-30 18:34:10 -04:00
Tim Graham 08c5887f13 Fixed #23734 -- Replaced striptags in template filter overview since it has security implications.
Thanks Aymeric Augustin for the suggestion.
2014-10-30 18:26:13 -04:00
Zan Anderle 9e3aaa5a46 Explained why admindocs omits model methods with arguments. 2014-10-30 18:18:39 -04:00
Aymeric Augustin 8f79c154ca Removed extra period. 2014-10-30 20:49:30 +01:00
Berker Peksag affc04060f Converted seealso directives to use 4 space indendation. 2014-10-30 14:45:16 -04:00
twidi fd061b6591 Fixed #23733 -- Fixed squashing migrations that depend on multiple apps. 2014-10-30 14:39:11 -04:00
Matthew Somerville cc25bfebd5 Clarified BaseCommand --traceback behavior. 2014-10-30 14:15:31 -04:00
Tim Graham 57e40551e4 Fixed #23152 -- Added support for transactional Spatialite metadata initialization.
Thanks Doug Goldstein for the initial patch.
2014-10-30 13:52:42 -04:00
Jon Dufresne eb4f6de980 Fixed #8149 -- Made File.__iter__() support universal newlines.
The following are recognized as ending a line: the Unix end-of-line
convention '\n', the Windows convention '\r\n', and the old
Macintosh convention '\r'.

http://www.python.org/dev/peps/pep-0278

Thanks tchaumeny for review.
2014-10-30 11:52:59 -04:00
slollo eab3dc195e Updated FIRST_DAY_OF_WEEK for Ukrainian to Monday. 2014-10-30 09:19:32 -04:00
David Hoffman 03467368db Fixed #23558 -- documented slugify limitations 2014-10-30 09:02:04 -04:00
Tim Graham c0eea4645b Added missing imports to example from previous commit. 2014-10-30 08:53:20 -04:00
Berker Peksag 4a9b4a23bd Fixed #23575 -- Added a code example for custom AdminSite. 2014-10-30 08:46:14 -04:00
Raul Cumplido 68d3db8a7b Fixed #23725 -- Substituted AUTH_USER_MODEL for User in docs. 2014-10-30 08:29:18 -04:00
Berker Peksag cbd936d0f8 Fixed #18731 -- Added an example about customizing "makemessages" command.
Thanks claudp for the suggestion and review.
2014-10-30 08:22:13 -04:00
Andrew Godwin aac594f65f Merge pull request #3280 from Markush2010/ticket23556
Fixed #23556 -- Raise a more meaningful error message when migrations refer to an unavailable node
2014-10-29 17:52:12 -07:00
Markus Holtermann 85086c8158 Fixed #23556 -- Raised a more meaningful error message when migrations refer to an unavailable node 2014-10-30 00:17:29 +01:00
P.A. SCHEMBRI 388c6038fd Added cross reference in admin docs to topic about saving objects in formsets. 2014-10-29 13:37:52 -04:00
Markus Holtermann 5c9c1e029d Fixed #23614 -- Changed the way the migration autodetector orders unique/index_together
Thanks to Naddiseo for the report and Tim Graham for the review
2014-10-29 13:05:42 -04:00
Tim Graham f3740caa7e Forwardported 1.7.2 release note from a0cfd77971. 2014-10-29 08:37:54 -04:00
Tim Graham 03bd79ed21 Fixed #23719 -- Fixed MySQL 5.6 crash with GeometryFields in migrations. 2014-10-29 08:21:24 -04:00
Berker Peksag c9178ef17a Limited lines to 119 characters in django/{contrib,db}.
Refs #23395.
2014-10-29 07:59:35 -04:00
Tim Graham 349471eeb9 Fixed spelling errors in docs. 2014-10-28 10:15:52 -04:00
Tim Graham 1e64a1e7b1 Fixed flake8 warnings. 2014-10-28 10:12:10 -04:00
Rigel Di Scala 28634394f5 Fixed #23606 -- Implemented Client and RequestFactory trace() methods.
Thanks KevinEtienne for the suggestion.
2014-10-28 10:11:12 -04:00
Claude Paroz 713f23492a Required MySQLdb >= 1.2.5 for fractional seconds support
On MySQLdb < 1.2.5, MySQLdb returns None when fetching datetime/time
values with fractional seconds.
See https://github.com/farcepest/MySQLdb1/issues/24
2014-10-28 15:06:58 +01:00
Claude Paroz 22da5f8817 Fixed #19716 -- Added support for microseconds with MySQL 5.6.4 and up
Thanks erik@cederstrand.dk for the report and Tim Graham for the review.
2014-10-28 15:06:58 +01:00
Claude Paroz 9e746c13e8 Stopped stripping microseconds with MySQL backend
Refs #19716.
2014-10-28 15:06:57 +01:00
Collin Anderson ae7cb992bc Fixed #23721 -- check_related_objects without calling __iter__
Refs #14334
2014-10-28 10:13:50 +02:00
Thomas Chaumeny 00aa562884 Fixed #23493 -- Added bilateral attribute to Transform 2014-10-28 10:02:10 +02:00
Oliver Meinusch 6b39401baf Fixed QuerySet datetimes argument name in docs. 2014-10-27 19:48:29 -04:00
Tim Graham e460b1c573 Fixed #23708 -- Corrected mod_wsgi docs reference to nonexistent comment in wsgi.py.
Thanks inglesp for the report.
2014-10-27 18:17:50 -04:00
bahoo af7d66b4f2 Fixed typo in squashing migrations documentation 2014-10-27 14:16:39 -07:00
Claude Paroz 5b8e37a69e Fixed typo in MySQL backend doctring
Thanks CHI Cheng for the report.
2014-10-27 14:01:12 +01:00
Claude Paroz 528c9af543 Fixed #23717 -- Fixed makemessages crash when STATIC_ROOT=None 2014-10-27 13:56:25 +01:00
Mikhail Denisenko d4bc0bf435 Fixed #22879 -- Intercept errors coming from cursor.__next__() 2014-10-27 14:51:40 +02:00
Tim Graham 984a57a9c9 Removed some commented code in the forms Media class. 2014-10-27 08:21:37 -04:00
Tim Graham 01b4a13db4 Forwardported release note for refs #23621. 2014-10-27 07:01:12 -04:00
Tony Zhu dd1ea70779 Fixed #23699 -- Prevented flush from loading initial data for apps with migrations. 2014-10-27 06:56:44 -04:00
Ilya Baryshev ed7c4df1ee Fixed documentation of make_password kwargs. 2014-10-27 06:36:55 -04:00
Claude Paroz 7f089ac2e3 Fixed #23446 -- Officially recommended mysqlclient as MySQL driver
Thanks Corey Farwell for the report and Tim Graham for the review.
Thanks also to Inada Naoki for creating and maintaining mysqlclient.
2014-10-27 09:11:33 +01:00
Berker Peksag 695956376f Removed simplejson inventory file from docs/conf.py. 2014-10-25 07:31:12 +03:00
Tim Graham dc241fdfdf Replaced dead links to python-distribute.org. 2014-10-24 18:58:31 -04:00
Berker Peksag 1387c80643 Fixed versionchanged indentation in topics/testing/advanced.txt. 2014-10-24 15:41:18 -04:00
Claude Paroz d49183e4be Removed unused import 2014-10-24 17:07:50 +02:00