Berker Peksag
f7969b0920
Fixed #23620 -- Used more specific assertions in the Django test suite.
2014-11-03 11:56:37 -05:00
Andy Chosak
c0c78f1b70
Clarified custom lookups output_field documentation
2014-11-03 15:52:27 +02:00
Andy Chosak
ceb1ffcc8d
Fixed #23420 - broken warning for unbound naive datetime objects
...
Fixed issue with warning message displayed for unbound naive datetime
objects when USE_TZ is True. Adds unit test that demonstrates the issue
(discoverable when using a custom lookup in MySQL).
2014-11-03 15:51:48 +02:00
Unai Zalakain
c548c8d0d1
Fixed #18456 -- Added path escaping to HttpRequest.get_full_path().
2014-11-03 07:59:19 -05:00
Thomas Chaumeny
d3db878e4b
Moved CSRF docs out of contrib.
2014-11-03 07:47:39 -05:00
Daniele Procida
d968bd5258
Merge pull request #3459 from brwr/brwr/django-23376
...
Fixed #23376 -- Make documentation about required Storage methods consistent.
2014-11-03 11:49:23 +00:00
James Brewer
332706eaa0
Fixed #23376 -- Made documentation about required Storage methods
...
consistent.
The following methods **should** be implemented, but are not required:
* Storage.delete()
* Storage.exists()
* Storage.listdir()
* Storage.size()
* Storage.url()
Updated documentation to reflect this fact and give a couple of examples
where some methods may not be implemented. Add a warning that not
implementing some methods will result in a partial (possibly broken)
interface.
Ticket: https://code.djangoproject.com/ticket/23376
2014-11-03 03:32:41 -08:00
Tim Graham
6d0547c1ad
Fixed #23744 -- Fixed typo in selenium testing example.
...
Thanks djbug for the report.
2014-11-01 12:36:28 -04:00
Tim Graham
d6d55368d4
Fixed #23731 -- Fixed migrations crash when adding blank GeometryFields on PostGIS.
...
Thanks raratiru for the report and Claude Paroz for review.
2014-10-31 18:37:52 -04:00
Konrad Świat
934a16dc93
Fixed #23468 -- Added checks for duplicate fixtures directories in loaddata.
...
If settings.FIXTURE_DIRS contains duplicates or a default fixture
directory (app_name/fixtures), ImproperlyConfigured is raised.
Thanks to Berker Peksag and Tim Graham for review.
2014-10-31 18:21:54 -04:00
Tim Graham
e548d08f24
Renamed SpatiaLite feature flag introduced in refs #23152 .
...
Thanks Doug Goldstein for the suggestion.
2014-10-31 15:55:45 -04:00
Tim Graham
e958c760f9
Fixed #23732 -- Corrected and enhanced select_related() docs.
...
Thanks Daniele Procida for the report and review.
2014-10-31 15:40:07 -04:00
Tim Graham
3f651b3e88
Added a warning about direct settings manipulation in tests.
...
Thanks Thomas Chaumeny for the initial patch.
2014-10-31 13:34:41 -04:00
Markus Holtermann
715ccfde24
Fixed #23738 -- Allowed migrating from NULL to NOT NULL with the same default value
...
Thanks to Andrey Antukh for the report.
2014-10-31 13:30:30 -04:00
Markus Holtermann
ed2f96819c
Fixed #23715 -- Prevented urlize from treating a trailing ! as part of an URL
...
Thanks to 57even for the report.
2014-10-31 08:06:40 -04:00
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