Tomasz Jaskowski
022de7e139
Fixed #20449 - Corrected test sensitivity to current working dir.
2013-05-19 23:58:06 -04:00
Alasdair Nicol
428875775c
Fix typo in redirect view docs
2013-05-20 00:59:17 +02:00
Alex Gaynor
7c56212c71
Lower the max length for a test field so that it works on MySQL.
2013-05-19 13:58:58 -07:00
Anssi Kääriäinen
190771d003
Fixed fixtures testing failure
...
The failure was caused by generating the same warning from two tests.
The second time the same warning was raised it was swallowed by the
"once" simplefilter of warnings.
2013-05-19 20:53:49 +03:00
Aymeric Augustin
6633eeb886
Changed API to disable ATOMIC_REQUESTS per view.
...
A decorator is easier to apply to CBVs. Backwards compatibility isn't an
issue here, except for people running on a recent clone of master.
Fixed a few minor problems in the transactions docs while I was there.
2013-05-19 19:53:16 +02:00
Tim Graham
e83ff42792
Fixed #20459 - Improved example for setting HTTP header fields.
...
Thanks Jérémie Blaser.
2013-05-19 12:30:53 -04:00
Preston Holmes
6786920fd8
Fixed #16330 -- added --pks option in dumpdata command
...
Thanks to guettli for the initial ticket and patch, with additional work
from mehmetakyuz and Kevin Brolly.
2013-05-19 09:10:40 -07:00
Tim Graham
bdde7feb26
Added some links in /docs/intro/overview.txt
...
Thanks Claes Ström for the patch.
2013-05-19 12:06:35 -04:00
Aymeric Augustin
f7d7d2be4b
Made 2d309a70
compatible with Python 3.
2013-05-19 17:58:29 +02:00
Tim Graham
41bea033b7
Fixed #20183 - Clarified docs assumption that certain objects exist in database.
...
Thanks Tomasz Jaskowski for the patch.
2013-05-19 11:31:27 -04:00
Russell Keith-Magee
a4ab0e8b86
Merge pull request #1178 from bmispelon/master
...
Fix for test failure introduced by 980ae2a
.
2013-05-19 08:08:09 -07:00
Russell Keith-Magee
c0719d076f
Merge pull request #1166 from bbenko/ticket_15961
...
Fixed #15961 -- Added get_search_results to ModelAdmin
2013-05-19 07:57:12 -07:00
Baptiste Mispelon
3cb1e9b93c
Fix test failure introduced by 980ae2ab29
.
2013-05-19 16:51:36 +02:00
Bozidar Benko
2d309a7043
Fixed #15961 -- Modified ModelAdmin to allow for custom search methods.
...
This adds a get_search_results method that users can override to
provide custom search strategies.
Thanks to Daniele Procida for help with the docs.
2013-05-19 16:45:00 +02:00
Aymeric Augustin
b06f6c1618
Fixed test failure introduced in 1927bf7c91
.
2013-05-19 16:23:14 +02:00
Erik Romijn
f88700d610
Fix #19664 -- Illegal Characters In Session Key Give Fatal Error On File Backend Only
2013-05-19 15:33:05 +02:00
Aymeric Augustin
a9b98f59aa
Clarified when triagers should close tickets as needsinfo.
...
https://groups.google.com/d/msg/django-developers/dyldP9kFADc/rHTlRBVEP8MJ
2013-05-19 15:24:10 +02:00
Aymeric Augustin
181f2ec603
Fixed test failures with Oracle when pytz isn't installed.
...
Thanks Shai Berger for the report.
2013-05-19 14:38:48 +02:00
Marc Tamlyn
761bbbbbae
Added Baptiste to AUTHORS.
2013-05-19 14:36:38 +02:00
Baptiste Mispelon
980ae2ab29
Fix #20447 : URL names given to contrib.auth.views are now resolved.
...
This commit also adds tests for the redirect feature of most auth views.
It also cleans up the tests, most notably using @override_settings instead
of ad-hoc setUp/tearDown methods.
Thanks to caumons for the report.
Conflicts:
docs/releases/1.6.txt
2013-05-19 14:36:38 +02:00
Andrew Godwin
9b22baddef
Merge pull request #1130 from vdboor/issue_20442_get_for_id
...
Fixed #20442 : NoneType error when fetching a stale ContentType with get_for_id
2013-05-19 05:33:17 -07:00
Marc Tamlyn
c6855e8a70
Merge pull request #1162 from sspross/patch-docs
...
Add needed Imports to the Documentation, Part II
2013-05-19 05:26:13 -07:00
Aymeric Augustin
c28b795804
Merge pull request #1164 from pyriku/get_or_create_through_m2m
...
Integrity problems when using get_or_create through M2M
2013-05-19 05:21:39 -07:00
Pablo Recio
65f9e0affd
Fixes #18896 . Add tests verifying that you can get IntegrityErrors using get_or_create through relations like M2M, and it also adds a note into the documentation warning about it
2013-05-19 14:16:12 +02:00
Aymeric Augustin
d34b1c29e2
Merge pull request #1161 from erikr/urlize-additional-test
...
Fixed #19070 -- Additional test for urlize and brackets
2013-05-19 04:59:15 -07:00
Aymeric Augustin
f7467181aa
Merge pull request #1160 from erikr/host-inet-postgres2
...
Fixed #11442 -- Postgresql backend casts all inet types to text
2013-05-19 04:57:10 -07:00
Erik Romijn
1927bf7c91
Fix #19070 -- Additional test for urlize and brackets
2013-05-19 13:39:21 +02:00
vkuzma
1fe587d80b
Add missing imports and models to the examples in the admin documentation
2013-05-19 13:35:19 +02:00
leandrafinger
08b501e7d3
add missing imports to the examples in the 'Forms'
2013-05-19 13:31:45 +02:00
Silvan Spross
1d543949d7
Add missing imports and models to the examples in internationalization and localization documentation
2013-05-19 13:30:01 +02:00
Silvan Spross
6a479955f0
Add missing imports and models to the examples in security documentation
2013-05-19 13:29:49 +02:00
Silvan Spross
7264e5c661
Add missing imports and models to the examples in the template layer documentation
2013-05-19 13:29:38 +02:00
Erik Romijn
60d94c2a80
Fixed #11442 -- Postgresql backend casts all inet types to text
2013-05-19 13:28:09 +02:00
Marc Tamlyn
3d5a546254
Merge pull request #1138 from ambv/issue20126
...
Fixed #20126 -- XViewMiddleware moved to django.contrib.admindocs.middleware
2013-05-19 04:25:42 -07:00
Łukasz Langa
660762681c
Fixed #20126 -- XViewMiddleware moved to django.contrib.admindocs.middleware
2013-05-19 13:18:35 +02:00
Aymeric Augustin
a7e2835276
Merge pull request #1028 from manfre/patch-2
...
Fixed #20340 - document required return value for disable_constraint_checking
2013-05-19 04:17:08 -07:00
Aymeric Augustin
cb86f707a0
Fixed #12747 -- Made reason phrases customizable.
2013-05-19 13:14:54 +02:00
Aymeric Augustin
3129d19071
Merge pull request #1152 from ambv/issue11915
...
Fixed #11915 : generic Accept-Language matches country-specific variants
2013-05-19 04:01:20 -07:00
Andrew Godwin
04e0fc029f
Merge pull request #1094 from senko/ticket_11160
...
Fixed #11160 : Formset non_form_errors returns ErrorList() if is_valid is not called
2013-05-19 03:56:14 -07:00
Andrew Godwin
7a99d1e167
Merge pull request #1134 from senko/ticket_18990
...
Fixed #18990 : Loaddata now complains if fixture doesn't exist
2013-05-19 03:54:29 -07:00
Tim Graham
cc62cbed76
Fixed some line wrapping, refs #20233
2013-05-19 06:51:55 -04:00
Łukasz Langa
26e3e7ecb5
Fixed #11915 : generic Accept-Language matches country-specific variants
2013-05-19 12:50:09 +02:00
Senko Rasic
65c557115f
fix warnings imports in fixtures tests
2013-05-19 12:49:03 +02:00
Honza Kral
4ad1eb1c14
Fixed #12674 -- provide a way to override admin validation
...
Moved admin validation code to classes and have those be class
attributes to the ModelAdmin classes.
2013-05-19 12:42:52 +02:00
Marc Tamlyn
886f7cc751
Merge pull request #1098 from zsiciarz/ticket-16829
...
Added example of using sitemaps with static views.
2013-05-19 03:27:33 -07:00
Aymeric Augustin
753edfa4b5
Fixed a rest mistake I introduced in d5ce2ff
.
2013-05-19 12:14:44 +02:00
Marc Tamlyn
9a1ea4e7e8
Merge pull request #1147 from ambv/transrealmixin
...
Added TransRealMixin to fix i18n global state pollution in the test suite
2013-05-19 03:13:17 -07:00
Łukasz Langa
e80636b668
Added TransRealMixin to fix i18n global state pollution in the test suite
2013-05-19 12:05:57 +02:00
bbjay
56d6fdbbf5
Fixed #20452 -- Rename 'headers' to 'header fields'.
2013-05-19 11:48:57 +02:00
Senko Rasic
c44a2c40fe
Fixed #18990 -- Loaddata now complains if fixture doesn't exist
...
If the fixture doesn't exist, loaddata will output a warning.
The fixture named "initial_data" is exceptional though; if it
doesn't exist, the warning is not emitted. This allows syncdb and
flush management commands to attempt to load it without causing
spurious warnings.
Thanks to Derega, ptone, dirigeant and d1ffuz0r for contributions
to the ticket.
2013-05-19 11:31:27 +02:00