Commit Graph

4885 Commits

Author SHA1 Message Date
Preston Holmes 0d49fdb573 [1.5.x] Fixed #18985 -- made DeprecationWarnings loud
Capture warnings in Python >= 2.7 and route through
console handler, which is subject to DEBUG==True

Thanks to dstufft for the idea, and claudep for initial patch
2012-11-16 17:08:02 -08: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
Tim Graham dea4214bb5 [1.5.X] Fixed #19289 - Removed an out of place sentence in tutorial 2.
Thanks colinnkeenan for the report.

Backport of 2dbfa66f4d from master
2012-11-14 05:49:12 -05:00
Alex Gaynor 911d3581ea [1.5.x] fixed a broken link in the docs. Backport of 1e34fd3c03 2012-11-13 14:49:08 -08:00
David Cramer d33f8d0f54 [1.5.x] Correct link to Sentry
django-sentry is no longer maintained, and sentry is the replacement.

Backport of 54fbe6c and c91a127 from master, as requested by Mr Gaynor.
2012-11-13 23:00:35 +01: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
Tim Graham 897d8adb1c [1.5.X] Fixed #19260 - Added a comment to tutorial 1.
Thanks terwey for the suggestion.

Backport of a72b8a2247 from master
2012-11-13 05:46:46 -05: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 087274d08f [1.5.x] Fixed #19266 -- Added Texinfo documentation target
Thanks orontee for the report and initial patch.
Backport of a79d920a56 from master.
2012-11-09 09:03:52 +01: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 5b190733e9 [1.5.X] Fixed #19161 - Added missing clean_password method in custom user docs
Thanks DavidW for the report.

Backport of e8f696097b from master
2012-11-06 19:46:40 -05: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 84e33545c9 [1.5.X] Fixed #19154 - Noted commit_manually requires commit/rollback for reads
Thanks als for the report.

Backport of 620e0bba49 from master
2012-11-06 17:50:00 -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 f7552a2889 [1.5.x] Corrected a typo that inadvertently made its way into the docs. Backport of 0a49e6164c. 2012-11-04 15:45:20 -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
Preston Holmes 3bb8c6e1cd [1.5.x] Added a note and link to CLA from contributing docs 2012-11-04 12:26:23 -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
Claude Paroz b61778dcf6 [1.5.x] Fixed #6234 -- Removed obsolete note about json and ensure_ascii
Thanks aaron at cellmap.ca for the report.
Backport of 4e8d9524c from master.
2012-11-03 23:56:04 +01:00
Aymeric Augustin d7688a010a [1.5.x] Fixed #18963 -- Used a subclass-friendly pattern
for Python 2 object model compatibility methods.

Backport of fc10418 from master.
2012-11-03 22:08:05 +01:00
Markus Zapke-Gründemann 4b2fb7efea [1.5.X] Fixed #19230 -- Extended the handler403 documentation.
Backport of 0546794397 from master.

Added a paragraph on how to use the PermissionDenied exception to create a 403
response and use handler403.
2012-11-03 17:19:26 +01: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 90af863410 [1.5.X] Fixed #19167 - Added a warning regarding module-level database queries
Thanks Daniele Procida for the patch.

Backport of 07361d1fd6 from master
2012-11-02 18:20:32 -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 ffc649df88 [1.5.X] Fixed #15361 - Documented performance considerations for QuerySet.get()
Thanks mmcnickle for the patch.

Backport of feaf9f279a from master
2012-11-02 17:59:51 -04:00
Florian Apolloner 6b1f73113a [1.5.x] Documented minimal python 3.2 version.
Backport of 0d8432da55 from master.
2012-11-02 10:52:15 +01:00
Aymeric Augustin 71dbc01ad7 Fixed #19225 -- Typo in shortcuts docs.
Thanks SunPowered for the report.
2012-11-02 09:30:31 +01: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
Tim Graham 958c1d12e5 [1.5.X] Fixed #19216 - Switched to user level installation in apps tutorial.
Thanks Nick Coghlan for the suggestion.

Backport of dd0d2c0be5 from master
2012-10-31 20:02:23 -04:00
Aymeric Augustin 0dcaddb571 Fixed #17083 -- Allowed sessions to use non-default cache. 2012-10-31 09:51:19 +01:00
Tim Graham 5c7406b236 [1.5.X] Fixed #16671 - Added a tutorial on reuseable apps
Thank-you Katie Miller and Ben Sturmfels for the initial draft,
as well as Russ and Carl for the reviews.

Backport of 08cf54990a from master
2012-10-30 18:41:29 -04:00
Claude Paroz a24ffa52d0 [1.5.x] Fixed #17744 -- Reset default file storage with setting_changed signal
Backport of 9a0285134 from master.
2012-10-30 22:26:03 +01:00
Preston Holmes e8269a6729 [1.5.x] Fixed #17869 - force logout when REMOTE_USER header disappears
If the current sessions user was logged in via a remote user backend log out
the user if REMOTE_USER header not available - otherwise leave it to other auth
middleware to install the AnonymousUser.

Thanks to Sylvain Bouchard for the initial patch and ticket maintenance.
2012-10-29 22:58:36 -07: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 a92c7c6e26 [1.5.x] Fixed #19208 -- Docs for mod_wsgi daemon mode
Thanks Graham Dumpleton for the patch.

Backport of bc00075 from master.
2012-10-29 21:40:10 +01:00
Preston Holmes f427ecdc88 [1.5.x] Fixed #19061 -- added is_active attribute to AbstractBaseUser 2012-10-28 23:06:09 -07: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 845d8408e7 [1.5.x] Added optional kwargs to get_expiry_age/date.
This change allows for cleaner tests: we can test the exact output.

Refs #18194: this change makes it possible to compute session expiry
dates at times other than when the session is saved.

Fixed #18458: the existence of the `modification` kwarg implies that you
must pass it to get_expiry_age/date if you call these functions outside
of a short request - response cycle (the intended use case).

Backport of cd17a24 from master.
2012-10-28 09:20:54 +01:00
Claude Paroz c5da577b9e [1.5.x] Fixed #17787 -- Documented reset caches by setting_changed signal
Backport of fc2681b22 from master.
2012-10-27 22:04:06 +02:00
Florian Apolloner cb2817543f [1.5.x] Removed a redundant colon in the query docs.
Thanks to Berker Peksag for the patch.

Backport of 4f11b7362206224ad876018bba19b7c9a08b7f0b from master.
2012-10-27 21:20:21 +02:00
Dmitry Shevchenko d8bd829215 Missing 'h' in word. 2012-10-27 21:09:52 +02:00