Commit Graph

1421 Commits

Author SHA1 Message Date
Tim Graham 63546533c1 [1.5.X] Clarified usage of as_view kwargs for setting arguments on class based views
Thanks Dave McLain for the patch.

Backport of 7b2d95eb30 from master
2012-11-22 09:08:37 -05:00
Preston Holmes 6d85f1212f [1.5.x] Added examples of using startproject/app with URLs
thanks to Brent O'Connor for the idea and intial docs
2012-11-21 22:08:04 -08:00
shepdl 187441602c [1.5.X] Fixed #19243 - Edited GeoDjango Tutorial for consistency and style.
Backport of 8e5573e99a from master
2012-11-21 19:32:27 -05:00
Luke Plant aab701f1aa [1.5.x] Corrected docs about default value of MESSAGE_STORAGE
Backport of a32f30c79c from master
2012-11-20 23:06:38 +00:00
Preston Holmes 3a0e0230f7 [1.5.x] Fixed #18658 -- Improved ModelAdmin.message_user API
Thanks to Lowe Thiderman for the patch and tests
2012-11-19 16:03:30 -08:00
Anton Danilchenko 5b6db35a74 [1.5.X] Fixed typo in docs/ref/models/querysets.txt
Backport of 76859e6eab from master
2012-11-19 18:46:36 -05:00
Tim Graham 17c61aaea3 [1.5.X] Fixed #19306 - Improved syndication example.
Thanks brycenesbitt for the report.

Backport of 1f1f60d12f from master
2012-11-18 18:09:00 -05:00
Tim Graham c262252c27 [1.5.X] Fixed #19308 - Clarified stringformat filter example
Thanks Shabda Raaj.

Backport of 2564e31014 from master
2012-11-17 19:32:51 -05:00
Tim Graham 31da2a5e56 [1.5.X] Fixed #13997 - Added an example of constructing a MultiWidget and documented the value_from_datadict method.
Backport of 04775b4598 from master
2012-11-17 17:55:05 -05:00
Aymeric Augustin e8da482bbe [1.5.x] Fixed #19315 -- Improved markup in admin FAQ.
Thanks ClaesBas.

Backport of ccb2b57 from master.
2012-11-17 23:27:27 +01:00
Aymeric Augustin a586f2a7e5 [1.5.x] Fixed #19291 -- Completed deprecation of ADMIN_MEDIA_PREFIX.
Backport of 9b755a2 from master.
2012-11-17 23:05:16 +01:00
Tom Christie 9fa6aa9534 [1.5.x] Formatting tweaks.
(cherry picked from commit 3f2fc2f41a)
2012-11-17 21:31:21 +01:00
Tom Christie 2fdb7e6ca5 [1.5.x] Include `versionadded 1.5` directive
(cherry picked from commit 5bc6929f9a)
2012-11-17 21:31:07 +01:00
Tom Christie 2bfea36208 [1.5.x] Add 'page_kwarg' attribute to `MultipleObjectMixin`, removing hardcoded 'page'.
(cherry picked from commit 502be865c6)
2012-11-17 21:30:22 +01:00
Tim Graham d69c3bf137 [1.5.X] Documented that contrib.sites creates a default site.
Thanks Lorin Hochstein for the patch.

Backport of ac4aa8a76c from master
2012-11-17 06:50:54 -05:00
Brandon Adams cefbf09a4d [1.5.X] Fixed docs noting comment_will_be_sent returns a 400, not a 403
Backport of d8ee46afff from master
2012-11-16 18:20:11 -05:00
Aymeric Augustin 5e9af1600d [1.5.x] Fixed #19283 -- Fixed typo in imports in CBV docs.
Backport of 00ff69a from master.
2012-11-13 20:47:26 +01:00
Nicolas Ippolito b3ea37e304 [1.5.X] Typo in comments doc
Backport of 17b14d4819 from master
2012-11-13 05:25:11 -05:00
Tim Graham 3344d8de3e [1.5.x] Merge pull request #506 from gwrtheyrn/ipv6_doc_fix
Fixed invalid ipv4 mapped ipv6 addresses in docs

Backport of 19eb56a277 from master
2012-11-09 05:49:27 -05:00
Claude Paroz b872617924 [1.5.x] Fixed #19115 -- Documented stdout/stderr options for call_command
Thanks d1ffuz0r for helping with the patch.
Backport of b1ac329ba from master.
2012-11-07 18:36:17 +01:00
Tim Graham 4f36ea451d [1.5.X] Fixed #15968 - Noted that readonly_fields are excluded from the ModelForm
Backport of a386675a6a from master
2012-11-06 19:04:38 -05:00
Tim Graham 79209dfdc5 [1.5.X] Fixed #19246 - Updated SECURE_PROXY_SSL_HEADER example to use 'X-Forwarded-Proto'
Thanks Fred Palmer for the report.

Backport of 2cc1884383 from master
2012-11-06 05:18:12 -05:00
Tim Graham f7d87b30fb [1.5.X] Fixed #15591 - Clarified interaction between ModelForm and model validation.
Backport of d3fd8a1512 from master
2012-11-05 18:30:50 -05:00
Daniel Greenfeld dbe984c397 Fixed #19241 -- Improved floatformat docs
Demonstrate how to round to integers using floatformat templatetag
2012-11-04 17:45:30 -08:00
Alex Gaynor 32d5f03f10 [1.5.x] Added multi-column indexes to the 1.5 release notes. Backport of 957787ace0. 2012-11-04 15:41:58 -08:00
Alex Gaynor 4f6e9c6af2 [1.5.x] Merge pull request #493 from edavis/fix-get-foo-display-docs
Fixed formatting of get_FOO_display example
2012-11-04 11:18:45 -08:00
Alex Gaynor 6f716e9e5f [1.5.x] Fixed #5805 -- it is now possible to specify multi-column indexes. Thanks to jgelens for the original patch. Backport of 4285571c5a. 2012-11-04 10:26:59 -08:00
Tim Graham 26e0651c42 [1.5.X] Fixed #19090 - Added PostgreSQL connection note.
Thanks Melevir for the patch.

Backport of 249c3d730e from master
2012-11-04 05:35:38 -05:00
Ulrich Petri f12fa7750c [1.5.X] Fixed #17549 -- Added a clickable link for URLFields in admin change list.
Backport of ac2052ebc8 from master.
2012-11-03 11:59:16 +01:00
Tim Graham 4a9b3826fd [1.5.X] Fixed #16841 - Documented a couple ModelAdmin methods
* ModelAdmin.get_changelist_form and get_changelist_formset
* InlineModelAdmin.get_formset

Thanks Jordan Reiter for the report.

Backport of 39f5bc7fc3 from master
2012-11-03 05:25:55 -04:00
Preston Holmes 0131da0622 [1.5.x] Deprecated depth kwarg on select_related.
This is the start of a deprecation path for the depth kwarg on
select_related. Removing this will allow us to update select_related so
it chains properly and have an API similar to prefetch_related.

Thanks to Marc Tamlyn for spearheading and initial patch.

refs #16855
2012-11-02 22:03:55 -07:00
Tim Graham 75fb8f433f [1.5.X] Fixed #19120 - Added an example of using ModelAdmin methods for read-only fields.
Thanks Daniele Procida for the patch.

Backport of d1de7596b2 from master
2012-11-02 18:32:43 -04:00
Tim Graham a738d80dd1 [1.5.X] Cleaned up contrib.admin install instructions.
Thanks Cal Leeming for the patch.
\nBackport of 082fad0b83 from master
2012-11-02 18:05:51 -04:00
Tim Graham c5d0f49dc2 [1.5.X] Added WizardView.file_storage exception message and docs
Thanks Danilo Bargen for the patch.

Backport of af7ea808d8 from master
2012-11-01 18:02:32 -04:00
Tim Graham acab68d8a7 [1.5.X] Fixed #19179 - Added mention of NamedUrlSessionWizard and NamedUrlCookieWizard; thanks Tom for the report.
Backport of ede8a0be05 from master
2012-11-01 08:50:54 -04:00
Aymeric Augustin 0dcaddb571 Fixed #17083 -- Allowed sessions to use non-default cache. 2012-10-31 09:51:19 +01:00
Aymeric Augustin 322d858abe [1.5.x] Fixed #19209 -- Documented |date:"I".
Thanks mitar for the report.

Backport of 24b2aad from master.
2012-10-29 23:13:01 +01:00
Aymeric Augustin 39082494e6 [1.5.x] Fixed #18194 -- Expiration of file-based sessions
* Prevented stale session files from being loaded
* Added removal of stale session files in django-admin.py clearsessions

Thanks ej for the report, crodjer and Elvard for their inputs.

Backport of 5fec97b from master.
2012-10-28 09:21:56 +01:00
Aymeric Augustin b760503a27 [1.5.x] Fixed #18978 -- Moved cleanup command to sessions.
This removes a dependency of 'core' on 'contrib'.

Backport of 83ba0a9 from master.

This deprecation occurs after the alpha, but it's a prerequisite
for fixing decently #18194 which is a release blocker.
2012-10-27 18:38:32 +02:00
Tim Graham da958eb209 Fixed #9471 - Expanded ModelAdmin.raw_id_fields docs; thanks adroffne for the suggestion. 2012-10-24 17:43:24 -04:00
Aymeric Augustin 495a8b8107 Fixed #6527 -- Provided repeatable content access
in HttpResponses instantiated with iterators.
2012-10-24 17:08:37 +02:00
Aymeric Augustin 104ca49c57 Removed inaccurate statement from the StreamingHttpResponse docs.
Iterators will be closed for both regular and streaming responses;
this shouldn't be described as a difference.
2012-10-21 22:44:02 +02:00
Tim Graham 2f722d9728 Fixed #13869 - Warned that QuerySet.iterator() doesn't affect DB driver caching; thanks jtiai for the suggestion. 2012-10-20 15:22:34 -04:00
Aymeric Augustin 4b27813198 Fixed #7581 -- Added streaming responses.
Thanks mrmachine and everyone else involved on this long-standing ticket.
2012-10-20 20:05:11 +02:00
Tim Graham 300d052713 Fixed arguments for get_inline_instances example; refs #17856 2012-10-20 09:57:15 -04:00
Aymeric Augustin c2e19e26bc Fixed #17856 -- Passed obj to get_inline_instances
Thanks ybon, quinode and sjaensch for the patch, and Tim Graham
for the review.
2012-10-20 15:49:52 +02:00
Claude Paroz dfd4a71751 Fixed #5611 -- Restricted accepted content types in parsing POST data
Thanks paulegan for the report and Preston Holmes for the review.
2012-10-20 14:56:16 +02:00
Tim Graham eed4faf16f Fixed #17006 - Documented ModelAdmin get_form() and get_formsets() 2012-10-20 08:40:54 -04:00
Claude Paroz 3084b1cfd6 Separated GIS installation docs in sections 2012-10-20 11:08:52 +02:00
Tim Graham db598dd8a0 Fixed #18046 - Documented than an index is created by default for ForeignKeys; thanks jbauer for the suggestion. 2012-10-18 16:58:05 -04:00