Chris Beaven
61c861546b
[1.5.x] Update doc example for overriding change_form.html
...
Slightly reworded another related paragraph for clarity, too.
Backport of 3f890f8
.
2013-01-03 11:38:58 +13:00
Aymeric Augustin
7be9fa224c
[1.5.x] Minor fixes in the known_related_objects tests.
...
* Fixed JSON indentation.
* Avoided relying on implicit ordering.
Backport of a7b7efe
.
2013-01-02 22:22:51 +01:00
Aymeric Augustin
056ace0f39
[1.5.x] Fixed #19547 -- Caching of related instances.
...
When &'ing or |'ing querysets, wrong values could be cached, and crashes
could happen.
Thanks Marc Tamlyn for figuring out the problem and writing the patch.
Backport of 07fbc6a
.
2013-01-02 22:22:14 +01:00
Tim Graham
da2cdd3a0f
[1.5.X] Fixed #19549 - Typo in docs/topics/auth/default.txt
...
Backport of 695b2089e7
from master
2013-01-02 15:33:58 -05:00
Tim Graham
520a3f090c
[1.5.X] Fixed #19520 - Corrected some misleading docs about template_name_suffix.
...
Thanks jnns for the report.
Backport of 0d3f16b12e
from master
2013-01-01 18:47:12 -05:00
Claude Paroz
fff9752cb3
[1.5.x] Removed unusable parameters to empty_form property
...
Backport of 884f77bd1
from master.
2013-01-01 21:02:33 +01:00
Claude Paroz
c3d919d12a
[1.5.x] Added a helper script for managing django translations
...
Backport of 739724ff82
from master.
2013-01-01 16:20:25 +01:00
Claude Paroz
3f2f50699e
[1.5.x] Updated translation catalogs for core and admin
2013-01-01 16:13:37 +01:00
Aymeric Augustin
56e5472766
[1.5.x] Fixed #19519 again -- Regression in LiveServerTestCase after fd1279a4
.
...
Backport of 328f5b5.
2013-01-01 10:14:24 +01:00
Julien Phalip
dfd8623de4
[1.5.x] Fixed #19453 -- Ensured that the decorated function's arguments are obfuscated in the @sensitive_variables decorator's frame, in case the variables associated with those arguments were meant to be obfuscated from the decorated function's frame.
...
Thanks to vzima for the report.
Backport of 9180146d21
2012-12-31 09:51:13 -08:00
Aymeric Augustin
fd1279a44d
[1.5.x] Fixed #19519 -- Fired request_finished in the WSGI iterable's close().
...
Backport of acc5396
.
2012-12-31 12:49:10 +01:00
Aymeric Augustin
ac72782e61
[1.5.x] Fixed #16241 -- Ensured the WSGI iterable's close() is always called.
...
Thanks Graham Dumpleton for the report.
Backport of a53c474
.
2012-12-31 12:48:43 +01:00
Claude Paroz
814c3b2e2a
[1.5.x] Fixed #19537 -- Made CheckboxInput._has_changed handle 'False' string
...
Thanks dibrovsd@gmail.com for the report.
Backport of d11038acb2
from master.
2012-12-31 10:24:48 +01:00
Julien Phalip
fa71536129
[1.5.x] Added further flexibility to ModelAdmin for controlling post-save redirections.
...
Refs #19505 .
Backport of cee40c7d79
2012-12-30 23:11:58 -08:00
Anssi Kääriäinen
e871e02178
[1.5.x] Made gis get_default_columns mirror changes in normal compiler
...
The copy-pasted part of gis compiler's get_default_columns wasn't
changed to match changes in a0155f3534
.
2012-12-30 12:22:26 +02:00
Tim Graham
9e5ada79bf
[1.5.x] Fixed broken links, round 4. refs #19516
...
Backport of 067505ad19
from master
2012-12-29 15:57:57 -05:00
Anssi Kääriäinen
d529d413f7
[1.5.x] Avoided having an indexed TextField installed unless using postgres
...
An index on TextField results in a warning message when running tests
on MySQL or SQLite, and the test using the TextField was PostgreSQL
only in any case.
Backpatch of 13a2b11425
2012-12-29 16:38:32 +02:00
Anssi Kääriäinen
2d74a5fd65
[1.5.x] Fixed autopk issue in tests
...
Backpatch of ba4331f177
2012-12-29 16:37:57 +02:00
Claude Paroz
0c96aae700
[1.5.x] Added links to default widget in forms.fields documentation
...
Backport of 2d0b35d2bb
from master.
2012-12-29 11:32:20 +01:00
Aymeric Augustin
5097d3c5fa
[1.5.x] Fix #19524 -- Incorrect caching of parents of unsaved model instances.
...
Thanks qcwxezdas for the report. Refs #13839 .
Backport of e9c24be
.
2012-12-28 23:35:08 +01:00
Aymeric Augustin
be4259004f
[1.5.x] Fixed #18970 -- Documented know limitations under Python 3.
...
Backport of 37b3fd2
from master.
2012-12-28 21:44:45 +01:00
Preston Holmes
8d1b190248
[1.5.x] Fixed #19498 -- refactored auth documentation
...
The auth doc was a single page which had grown unwieldy.
This refactor split and grouped the content into sub-topics.
Additional corrections and cleanups were made along the way.
2012-12-28 11:48:05 -08:00
Aymeric Augustin
3cb87ec605
[1.5.x] Fixed #19525 -- Reverted dcd4383107
and 05d333ba3b
.
...
Refs #9893 , #18515 .
Thanks Russell for the report.
Backport of db278c3
from master.
2012-12-27 09:43:41 +01:00
Tim Graham
fbc06eef1a
[1.5.X] Fixed broken links, round 3. refs #19516
...
Backport of b3a8c9dab8
from master
2012-12-26 19:10:50 -05:00
Aymeric Augustin
e2396bf122
[1.5.x] Updated documentation on localflavor translations
...
to account for the deprecation of django.contrib.localflavor in 1.5.
Refs #19482 .
2012-12-26 14:44:57 +01:00
Aymeric Augustin
0c79e5e347
[1.5.x] Fixed #19518 -- Documented the deprecation of localflavor.
...
Also moved the contrib deprecations at the top of their section and made
minor markup fixes.
Backport of 4500d35
from master.
2012-12-26 14:30:11 +01:00
Claude Paroz
4f67ab6376
[1.5.x] Fixed #16408 -- Re-fixed value conversion with Spatialite backend
...
Backport of 0907d3c6f
from master.
2012-12-26 12:48:27 +01:00
Tim Graham
1c1df12388
[1.5.X] Fixed more broken links. refs #19516
...
Backport of 9c5a6adf33
from master
2012-12-25 04:46:28 -05:00
Ramiro Morales
8738da03c6
[1.5.x] Updated Python versions supported FAQ entry.
2012-12-24 19:06:57 -03:00
Ramiro Morales
3b32e5cc2d
[1.5.x] Expanded tests added when fixing #14529 .
...
To make sure changes in 35d1cd0
don't break anything. Refs #19505 .
ad769efa85
from master.
2012-12-24 18:13:38 -03:00
Julien Phalip
3ad34c231b
[1.5.x] Fixed #19505 -- A more flexible implementation for customizable admin redirect urls.
...
Work by Julien Phalip.
Refs #8001 , #18310 , #19505 . See also 0b908b92a2
.
35d1cd0b28
from master.
2012-12-24 18:12:13 -03:00
Tim Graham
5489fc47df
[1.5.X] Fixed links to DATABASE ENGINE setting. refs #19516
...
Backport of f56f6cfa58
from master
2012-12-24 15:40:17 -05:00
Aymeric Augustin
cd914175c8
[1.5.x] Prevented caching of streaming responses.
...
The test introduced in 4b278131
accidentally passed because of a
limitation of Python < 3.3.
Refs #17758 , #7581 .
Backport of 1c8be95
from master.
2012-12-24 20:30:20 +01:00
Florian Apolloner
ef98ae2910
[1.5.X] Fixed #19204 -- Replaced python2-style exception syntax.
...
Thanks to garrison for the report and patch.
Backport of 4a71b84266
from master
2012-12-24 14:06:47 +01:00
Aymeric Augustin
1114d8203e
[1.5.x] Fixed a randomly failing test under Python 3.
...
Refs #17758 .
Backport of e8f07f0
from master.
2012-12-24 11:26:38 +01:00
Luke Plant
2164cd00ec
[1.5.x] Fixed HTML comparisons of class="foo bar" and class="bar foo" in tests
...
Refs #17758
Backport of 8bc410b445
from master
2012-12-24 02:21:36 +00:00
Luke Plant
00aea69f06
[1.5.x] Fixed a dependence on set-ordering in tests
...
Backport of 1ae64e96c1
from master
2012-12-24 02:21:19 +00:00
Luke Plant
b362a55969
[1.5.x] Made admin generated changelist URLs independent of dict ordering
...
Backport of c31c2c92b8
from master
2012-12-24 02:20:32 +00:00
Ian Clelland
5f07d24eaa
[1.5.x] Sort HTML attributes on generated forms
...
Backport of 6b9f130278
from master
2012-12-24 02:20:19 +00:00
Ian Clelland
cade3405c0
[1.5.x] Don't rely on dictionary ordering in tests
...
Backport of b9fc70141a
from master
2012-12-24 02:19:53 +00:00
Ian Clelland
95b4f34b5e
[1.5.x] Use HTML parser to compare html snippets
...
Backport of 585aa11d23
from master
2012-12-24 02:19:31 +00:00
Ian Clelland
515cf94b60
[1.5.x] Use new TestCase methods for equality comparisons
...
Backport of 8d35fd4c32
from master
2012-12-24 02:19:16 +00:00
Ian Clelland
5eba053459
[1.5.x] Add assertJSONEqual method to TestCase
...
Backport of 089d9ca1df
from master
2012-12-24 02:18:56 +00:00
Ian Clelland
f2a7b52cfb
[1.5.x] Add assertInHTML method to TestCase
...
Backport of dc704516c2
from master
2012-12-24 02:18:06 +00:00
Ramiro Morales
903892be7b
[1.5.x] Fixed #19497 -- Refactored testing docs.
...
Thanks Tim Graham for the review and suggestions.
d19109fd37
from master.
2012-12-22 12:39:49 -03:00
Claude Paroz
3aba929bcc
[1.5.x] Fixed #19509 -- Fixed crypt/bcrypt non-ascii password encoding
...
Also systematically added non-ascii passwords in hashers test suite.
Thanks Vaal for the report.
Backport of 0dc3fc954
from master.
2012-12-22 16:04:49 +01:00
Aymeric Augustin
9919638137
[1.5.x] Fixed #19468 -- Decoded request.path correctly on Python 3.
...
Thanks aliva for the report and claudep for the feedback.
Backport of 1e4a27d
from master.
2012-12-22 14:45:06 +01:00
Aymeric Augustin
db22145afb
[1.5.x] Fixed #19487 -- Used str in the test client's WSGI environ.
...
This regression was introduced by the unicode_literals patch. The WSGI
spec mandates that environ contains native strings.
Backport of d9a0b6a
.
2012-12-22 11:06:05 +01:00
Tim Graham
91af9230ad
[1.5.X] Fixed #19506 - Remove 'mysite' prefix in model example.
...
Thanks Mike O'Connor for the report.
Backport of 52a2588df6
from master
2012-12-21 15:53:23 -05:00
Anssi Kääriäinen
a0155f3534
[1.5.x] Refactored proxy model skipping in get_default_columns()
...
The refactoring allows custom subclasses to use different default
columns than the base model.
2012-12-21 20:56:04 +02:00