1
0
mirror of https://github.com/django/django.git synced 2024-12-27 03:25:58 +00:00
Commit Graph

19154 Commits

Author SHA1 Message Date
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
Claude Paroz
45db842c9b Fixed #23652 -- Restored database name after destroying test database
Thanks Bjarkias for the report.
2014-10-24 17:04:43 +02:00
Claude Paroz
1bdf1cb1c0 Updated gis_migrations tests 2014-10-24 15:10:39 +02:00
Claude Paroz
e50e0ee27b Fixed #23618 -- Allowed apps with no models to still have migrations
Basically a4737bf6ae reapplied.
2014-10-24 15:10:39 +02:00
James Doherty
adf8fb34ce Fixed typo in docs/ref/request-response.txt 2014-10-24 07:48:39 -04:00
Claude Paroz
2c9a03d487 Fixed #23707 -- Prevented discovery of duplicated tests 2014-10-23 21:03:57 +02:00
Tim Graham
92269b7b53 Fixed #23702 -- Fixed adding an explicit id field on SQLite.
Thanks gavinwahl for the report.
2014-10-23 12:24:34 -04:00
a1tus
2d75515a4c Fixed #23444 -- Deprecated django.contrib.admin.helpers.InlineAdminForm.original_content_type_id 2014-10-23 09:49:24 -04:00
Claude Paroz
70428902c0 Added missing available app in migrations test case
In some test combinations, having contrib.auth available but not
contrib.contenttypes can produce failures while creating permissions.
2014-10-23 15:39:26 +02:00
Tim Graham
4b0a45ce64 Fixed #23705 -- Removed unnecessary AliasMatch from example Apache config.
Thanks Keryn Knight for the report.
2014-10-23 08:15:54 -04:00
Tim Graham
41b337efa0 Fixed #23630 -- Made AlterModelTable rename auto-created M2M tables.
Thanks Naddiseo for the report, Andrew Godwin for guidance,
and Shai Berger for review.
2014-10-23 08:05:39 -04:00
Berker Peksag
22c85bf1a8 Fixed versionchanged indentation in unit-tests.txt. 2014-10-23 08:03:41 -04:00