Alex Gaynor
e06b54391d
Removed an excess colon. Thanks to jMyles for the patch.
2012-09-20 13:49:26 -07:00
Ian Clelland
2315f1a2ee
Add documentation for get_caches function
2012-09-20 12:07:34 -07:00
Claude Paroz
26ff2be787
Imported getLogger directly from logging module
...
This was a remainder of some 2.4 compatibility code.
2012-09-20 21:03:24 +02:00
Claude Paroz
89136b2725
Fixed #16577 -- Added a map_creation block in openlayers.js template
2012-09-20 10:31:37 +02:00
Claude Paroz
7e32dab3a6
Fixed #17687 -- Made LayerMapping router-aware
...
Thanks nosamanuel@gmail.com for the report and the initial patch.
2012-09-20 10:12:47 +02:00
Claude Paroz
3ae397a98c
Added a note about GEOS support for 3D/4D WKT notation
...
See also http://trac.osgeo.org/geos/ticket/347
2012-09-20 09:40:18 +02:00
Tim Graham
0fdfcee257
Fixed #15325 - Added a link to RelatedManager in the ManytoManyField docs; thanks jammon for the suggestion.
2012-09-19 18:00:14 -04:00
Tim Graham
acd74ffa35
Fixed #14829 - Added references to CBVs in the URLConf docs; thanks Andrew Willey for the suggestion.
2012-09-19 17:59:47 -04:00
Tim Graham
1360bd4186
Fixed #13586 - Added an example of how to connect a m2m_changed signal handler.
2012-09-19 15:09:49 -04:00
Carl Meyer
4e9a74b81d
Revert "Fixed #16865 -- Made get_or_create use read database for initial get query."
...
Thanks to Jeremy Dunck for pointing out the problem with this change. If in a
single transaction, the master deletes a record and then get_or_creates a
similar record, under the new behavior the get_or_create would find the record
in the slave db and fail to re-create it, leaving the record nonexistent, which
violates the contract of get_or_create that the record should always exist
afterwards. We need to do everything against the master here in order to ensure
correctness.
This reverts commit 901af86550
.
2012-09-19 11:15:12 -06:00
Carl Meyer
901af86550
Fixed #16865 -- Made get_or_create use read database for initial get query.
...
Thanks Rick van Hattem for the report and trbs for the patch.
2012-09-19 10:06:53 -06:00
Dave Hall
44767f2caf
Use unicode.translate to speed up js escaping.
2012-09-18 21:15:15 +02:00
Jeremy Dunck
40e62a5ccd
Fixed #18980 -- Fixed assertContains regression when passed an object
2012-09-18 21:05:41 +02:00
Florian Apolloner
319e135519
Fixed #18800 -- Support numbers bigger than max float in `numberformat`.
...
Thanks to jbvsmo for the patch and Brad Pitcher for the tests.
2012-09-18 19:43:50 +02:00
Florian Apolloner
11cdfb35a4
Merge pull request #375 from collinanderson/patch-8
...
versionadded for next/previous_year generic-date-based views doc
2012-09-18 10:32:22 -07:00
Collin Anderson
b771bcc7b4
document changes for YearArchiveView.
2012-09-18 11:06:10 -04:00
Preston Holmes
70248cce0a
Fixed #18971 -- added root level CONTRIBUTING doc
2012-09-17 22:09:07 -07:00
Preston Holmes
b1b32b2074
Added myself as a committer.
2012-09-17 22:02:16 -07:00
Tim Graham
89e809c400
Merge pull request #195 from pydanny/ajax-docs-example
...
Added example of AJAX form submission for CBVs.
2012-09-17 16:02:07 -07:00
Florian Apolloner
23d0136314
Merge branch 'lotheac-fix_uploaded_file_exec'
2012-09-17 22:54:26 +02:00
Florian Apolloner
e8c6aff3bf
Fixed #18947 -- Don't make uploaded files executeable by default.
...
Thanks to Lauri Tirkkonen for the patch.
2012-09-17 22:53:10 +02:00
Florian Apolloner
06f79354d0
Added tests for d21f3d9b17
.
2012-09-17 21:56:19 +02:00
Florian Apolloner
d21f3d9b17
Only update `last_login` instead of the whole user object in `update_last_login`.
2012-09-17 19:52:22 +02:00
Marc Tamlyn
b16f8b5fbe
Add example of AJAX form submission.
...
Credit goes to @SystemParadox. Originally developed at #DjangoCon Europe
but wasn't tested enough to merge in.
For history, please see https://github.com/pydanny/django/pull/4
2012-09-17 08:56:43 +01:00
Florian Apolloner
a630d08483
Merge pull request #360 from calebsmith/add-permalink-wraps-test
...
Ticket #12836 - Added a test to assure permalink wraps method attributes
2012-09-16 14:00:51 -07:00
Anssi Kääriäinen
f399a804c9
Fixed #17485 regression -- only + select_related interaction
...
When doing deeper than one level select_related() + only queries(), the
code introduced in b6c356b7bb
errored
incorrectly.
Thanks to mrmachine for report & test case.
2012-09-16 22:58:40 +03:00
Florian Apolloner
935a8635c2
Merge pull request #372 from ptone/patch-2
...
Clearer wording for defer docs
2012-09-16 02:45:44 -07:00
Florian Apolloner
e4d338ac9b
Merge pull request #371 from camilonova/fix_docs_typo
...
Fixes docs typo
2012-09-16 02:41:12 -07:00
Julien Phalip
c555741aa7
Fixed #18530 -- Fixed a small regression in the admin filters where wrongly formatted dates passed as url parameters caused an unhandled ValidationError. Thanks to david for the report.
2012-09-15 16:20:56 -07:00
Preston Holmes
8d75b1176f
Clearer wording for defer docs
2012-09-15 14:24:01 -07:00
Camilo Nova
17149496a0
Fixes docs typo
2012-09-15 15:45:13 -05:00
Claude Paroz
c7f44ae085
Fixed #17948 -- Isolated auth tests from custom template loaders
...
Thanks andrey@kostenko.name for the report.
2012-09-15 21:39:08 +02:00
Claude Paroz
b1fb6f4820
Modernized views.DebugViewTests
2012-09-15 21:07:42 +02:00
Tim Graham
93e6733e4c
Fixed #18131 - Documented ContentTypeManager.get_for_id; thanks sir_sigurd for the report.
2012-09-15 08:15:54 -04:00
Tim Graham
22242c510f
Fixed #16929 - Documented how to extend UserAdmin with UserProfile fields; thanks charettes for the draft example.
2012-09-15 07:38:34 -04:00
Tim Graham
553583958d
Added an example of using a form wizard with different templates; thanks Lorin Hochstein for the patch.
2012-09-15 07:16:07 -04:00
Tim Graham
e5f8fe27ac
Removed reference to note removed in a78dd109e6c81c49e90e36e9b793bad67c46c23c; refs #15552
2012-09-15 06:41:58 -04:00
Tim Graham
a73838fde3
Fixed #11185 - Expanded docs on customizing widgets; thanks fadeev for the draft patch.
2012-09-15 06:22:00 -04:00
Claude Paroz
65793d714c
Used ST_AsText for testing PostGIS raw query
...
AsText will not be supported in further versions of PostGIS (>=2).
2012-09-15 12:02:28 +02:00
Bryan Veloso
abfba3bb65
Correcting my English.
2012-09-14 19:26:11 -07:00
Bryan Veloso
a01bce1e26
Adding myself to the committers list.
2012-09-14 19:24:39 -07:00
Tim Graham
87c06fa4f4
Merge pull request #364 from martey/ticket_18933
...
Fixed #18933 - Fixes code example for cycle in docstring.
2012-09-13 12:23:28 -07:00
Claude Paroz
690170a8b9
Removed unused quoting/encoding in gis db backend
2012-09-13 20:17:52 +02:00
Claude Paroz
7e5ebcce53
Fixed #18795 -- Fixed failing GeoDjango tests
...
Proj.4 and SRS strings may slightly vary depending on the installed
libraries. Made some tests pass again with recent Proj.4/GDAL lib
versions.
2012-09-13 16:20:11 +02:00
Jeremy Dunck
9db7652eef
Fixed my terribly outdated profile in committers.txt in celebration of my commit bit.
2012-09-12 14:37:44 -07:00
Claude Paroz
fbd4b3a518
[py3] Fixed GeoDjango mutable list tests
2012-09-12 16:13:58 +02:00
Claude Paroz
c2c8d4044e
Made minimal changes to make gis test suite start with Python 3
2012-09-12 15:03:46 +02:00
Claude Paroz
1aa218b857
Fixed test output check when password is blank
2012-09-12 11:58:02 +02:00
Claude Paroz
703c266682
Fixed #18182 -- Made is_usable_password check if hashing algorithm is correct
...
The display of the ReadOnlyPasswordHashWidget has also been improved to
distinguish empty/unusable password from erroneous password.
Fixed #18453 also.
Thanks danielr and Leo for the reports and Moritz Sichert for the
initial patch.
2012-09-12 11:32:50 +02:00
Claude Paroz
859aa2a6c4
Fixed #18790 -- Encoded database password on Python 2
...
Thanks thcourbon@gmail.com for the report.
2012-09-12 10:16:49 +02:00