Commit Graph

1695 Commits

Author SHA1 Message Date
Marc Tamlyn 9ed971f4f1 Merge pull request #1245 from oinopion/list_select_related
Fixed #19080 -- Fine-grained control over select_related in admin
2013-06-06 01:27:05 -07:00
Tomek Paczkowski 0fd9f7c95f Fixed #19080 -- Fine-grained control over select_related in admin 2013-06-05 23:08:00 +02:00
Tim Graham bb863faecd Proofed the 1.6 release notes 2013-06-05 12:55:58 -04:00
James Aylett 5448555785 Fixed #17601 -- expose underlying db exceptions under py2
Use __cause__ to expose the underlying database exceptions even
under python 2.
2013-06-04 12:46:10 +01:00
Tim Graham c36b75c814 Fixed #20545 - Made class-based view MRO lists consistent.
Thanks wim@ for the suggestion.
2013-06-03 10:06:48 -04:00
Tim Graham 61524b09cf Fixed #18388 - Added InlineModelAdmin.get_max_num hook.
Thanks d.willy.c.c@ for the suggestion and Melevir and Areski Belaid for work
on the patch.
2013-06-01 18:20:54 -04:00
Tim Graham 646a2216e9 Fixed #20326 - Corrected form wizard get_form() example.
Thanks tris@ for the report.
2013-05-31 08:07:40 -04:00
Claude Paroz 7882c3a673 Fixed #20511 -- Corrected link about isolation levels in databases docs
Thanks tinodb for the report.
2013-05-31 10:17:34 +02:00
Ramiro Morales ac90aee55c Tweak caching decorators/utility functions xrefs. 2013-05-30 20:38:44 -03:00
Tim Graham 36aecb12b8 Fixed #19425 - Added InlineModelAdmin.get_extra hook.
Thanks dave@ for the suggestion and Rohan Jain for the patch.
2013-05-30 13:48:10 -04:00
Tim Graham 5074c75a37 Fixed #16856 - Added a way to clear select_related.
Thanks Carl for the suggestion and David Cramer for the patch.
2013-05-30 11:06:05 -04:00
Gavin Wahl e6ff238431 Fixed regroup example.
Chicago was missing.
2013-05-29 21:46:58 -04:00
Tim Graham 8a6e040bfa Fixed #20525 -- Added versionadded for clearsessions.
Thanks wiml@.
2013-05-28 20:14:01 -04:00
Tim Graham d321d1acf0 Fixed #20228 - Documented unique_for_date and exclude behavior.
Thanks Deepak Thukral for the patch.
2013-05-28 10:04:07 -04:00
Tim Graham 90af278203 Fixed #16137 - Removed kwargs requirement for QuerySet.get_or_create
Thanks wilfred@, poirier, and charettes for work
on the patch.
2013-05-27 10:01:14 -04:00
Baptiste Mispelon 08726cb013 Fix #20505: Typo in BinaryField documentation. 2013-05-27 11:35:34 +02:00
Preston Holmes d228c1192e Fixed #19866 -- Added security logger and return 400 for SuspiciousOperation.
SuspiciousOperations have been differentiated into subclasses, and
are now logged to a 'django.security.*' logger. SuspiciousOperations
that reach django.core.handlers.base.BaseHandler will now return a 400
instead of a 500.

Thanks to tiwoc for the report, and Carl Meyer and Donald Stufft
for review.
2013-05-25 16:27:34 -07:00
Tim Graham fbab3209fc Fixed #20492 - Removed a broken link in GIS docs. 2013-05-24 12:35:20 -04:00
Tim Graham 92c9052add Merge pull request #1210 from alasdairnicol/jquery_cookie_plugin_link
Updated link to jQuery Cookie plugin site
2013-05-24 09:25:27 -07:00
Alasdair Nicol 81f454a322 Update link to jQuery Cookie plugin site 2013-05-24 14:36:17 +01:00
Paul Tax fb1d813484 Link to active fork for ODBC backend
It took me quite some time to find if and where the ODBC backend was maintained.
I found (on djangoproject.com):
http://code.google.com/p/django-pyodbc/ (last commit about 3 years ago)
then:
https://github.com/avidal/django-pyodbc avidal fork.
then:
https://github.com/aurorasoftware/django-pyodbc/ aurorasoftware version which has avidal improvements merged.

Avidals version now links to https://github.com/aurorasoftware/django-pyodbc/ which is also the version installed through PIP.
2013-05-24 13:37:20 +03:00
Gavin Wahl 48424adaba Fixed #17648 -- Add `for_concrete_model` to `GenericForeignKey`.
Allows a `GenericForeignKey` to reference proxy models. The default
for `for_concrete_model` is `True` to keep backwards compatibility.

Also added the analog `for_concrete_model` kwarg to
`generic_inlineformset_factory` to provide an API at the form level.
2013-05-23 19:03:14 -04:00
Claude Paroz b664cb818d Fixed #19237 (again) - Made strip_tags consistent between Python versions 2013-05-23 14:01:27 +02:00
Donald Stufft 3de1288042 Fixed #11398 - Added a pre_syncdb signal 2013-05-23 01:09:22 -04:00
Russell Keith-Magee 11b06532f7 Merge pull request #1198 from KrzysiekJ/http-patch-method
Fixed #20478 – Added support for HTTP PATCH method in generic views.
2013-05-22 17:19:43 -07:00
Tim Graham 8c2c178a09 Fixed a broken link introduced in a542b808ba. 2013-05-22 08:51:16 -04:00
Krzysztof Jurewicz ee8b810b97 Fixed #20478 – Added support for HTTP PATCH method in generic views. 2013-05-22 14:48:11 +02:00
Tim Graham 90a6c3aaf0 Merge pull request #1196 from selwin/last-doc-fix
Slightly reworded 'last()' docs
2013-05-21 17:35:33 -07:00
Aymeric Augustin 5d16456991 Fixed #20476 -- Typo. 2013-05-21 21:29:14 +02:00
Selwin Ong 375e275030 Slightly reworded 'last()' docs. 2013-05-21 23:18:35 +07:00
Selwin Ong ea9a0857d4 Fixed #19326 -- Added first() and last() methods to QuerySet 2013-05-21 18:52:28 +03:00
Wiktor Kolodziej cec9558fba Fixed #17308 -- Enabled the use of short_description on properties in the admin. 2013-05-21 13:19:18 +02:00
Łukasz Langa a542b808ba Removed a confusing duplicate SESSION_COOKIE_DOMAIN header
The note is clearly a part of MESSAGE_STORAGE documentation. As a separate
section, it broke automatic link generation on the HTML version of the
documentation.
2013-05-21 00:53:40 +02:00
Tim Graham d9d24c4521 Fixed warnings in admindocs; refs #20126. 2013-05-20 10:17:49 -04:00
Alasdair Nicol 428875775c Fix typo in redirect view docs 2013-05-20 00:59:17 +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
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
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
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
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 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
Łukasz Langa 660762681c Fixed #20126 -- XViewMiddleware moved to django.contrib.admindocs.middleware 2013-05-19 13:18:35 +02:00
Aymeric Augustin cb86f707a0 Fixed #12747 -- Made reason phrases customizable. 2013-05-19 13:14:54 +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
bbjay 56d6fdbbf5 Fixed #20452 -- Rename 'headers' to 'header fields'. 2013-05-19 11:48:57 +02:00
Marc Tamlyn 33c361ef9d Merge pull request #1129 from frog32/master
Add needed Imports to the Documentation
2013-05-19 01:37:25 -07:00
Ramiro Morales 0a50311063 Fixed #20004 -- Moved non DB-related assertions to SimpleTestCase.
Thanks zalew for the suggestion and work on a patch.

Also updated, tweaked and fixed testing documentation.
2013-05-18 19:04:34 -03:00