Commit Graph

1536 Commits

Author SHA1 Message Date
Tim Graham 0fa827c55f [1.5.x] Fixed #19752 - Changed Postgres version numbers to 9.x to avoid having to update them each minor release.
Backport of 8d17114899 from master.
2013-02-23 10:42:27 -05:00
Tim Graham 89fb1836a8 [1.5.x] Fixed #19887 - Noted when callables may be used in ModelAdmin.fields and ModelAdmin.fieldset.
Thanks Patrick Strasser for the suggestion and Zbigniew Siciarz for the patch.

Backport of 722683f508 from master.
2013-02-23 09:47:42 -05:00
Tim Graham e69d810741 [1.5.x] Fixed #17094 - Typo in class-based views doc.
Thanks alej0 for the report.

Backport of c89717fabe from master.
2013-02-23 08:55:01 -05:00
Carl Meyer a7e33c5bf3 [1.5.x] Added a new required ALLOWED_HOSTS setting for HTTP host header validation.
This is a security fix; disclosure and advisory coming shortly.
2013-02-19 10:39:03 -07:00
Tim Graham ba794f68bf [1.5.x] Fixed #19824 - Corrected the class described for Field.primary_key from IntegerField to AutoField.
Thanks Keryn Knight.

Backport of 218bbef0c4 from master
2013-02-16 18:34:18 -05:00
Tim Graham ad2b091c1f [1.5.x] Fixed #19812 - Removed a duplicate phrase in the widget docs.
Thanks diegueus9 for the report and itsallvoodoo for the draft patch.

Backport of 7a80904b00 from master
2013-02-16 18:25:03 -05:00
Claude Paroz 44afe44602 [1.5.x] Emphasized MyISAM pseudo-requirement for GeoDjango over MySQL
Refs #15295.
Backport of 8fbc20b24 from master.
2013-02-10 20:50:11 +01:00
Claude Paroz b8c6de31a6 [1.5.x] Fixed #19779 -- Checked contrib.sites presence in RedirectFallbackMiddleware
Thanks Aymeric Augustin for the report and directions for the patch.
Backport of 2ed90eac from master.
2013-02-08 16:36:57 +01:00
Preston Holmes 660f80c3d6 [1.5.x] Fixed #19662 -- alter auth modelbackend to accept custom username fields
Thanks to Aymeric and Carl for the review.
2013-02-07 16:08:23 -08:00
Simon Charette f58aae9311 [1.5.x] Fixed #19734 -- Missing values in `DATETIME_INPUT_FORMATS` doc.
Also changed formating of `DATE_INPUT_FORMATS` and
`TIME_INPUT_FORMATS` for readability.

Thanks minddust for the report!

Backport of 5c70299a71 from master.
2013-02-04 15:23:37 -05:00
Nick Sandford e18bd68dbc [1.5.x] Fixed #19445 -- Skip admin fieldsets validation when the ModelAdmin.get_form() method is overridden.
Backport of 0694d2196f
2013-02-02 14:55:59 -08:00
Ramiro Morales fd61ce9c4f [1.5.x] Small generic FK docs tweaks.
5f7eecd from master.
2013-02-01 23:41:48 -03:00
Ramiro Morales 923b0de962 [1.5.x] Fixed content types contrib app doc typos.
1ee40f2 from master.
2013-02-01 23:41:06 -03:00
Aymeric Augustin 56a7d11237 [1.5.x] Fix rst syntax error.
Thanks Chris Rebert for the report.

Backport of d75a54c.
2013-02-01 21:48:44 +01:00
Aymeric Augustin 11f6295551 [1.5.x] Documented ArchiveIndexView's date_list context variable.
Refs #16218.

Backport of a0c67c6.
2013-02-01 13:43:20 +01:00
Claude Paroz 5ebd0452ba [1.5.x] Fixed #19714 -- Updated documentation about TemplateView context
Thanks Aramgutang for the report. Refs #17228.
Backport of 56e553129 from master.
2013-02-01 09:58:35 +01:00
Aymeric Augustin 11ec0253ab [1.5.x] Fixed #19692 -- Completed deprecation of mimetype in favor of content_type.
Thanks Tim for the report and initial patch.

Backport of 89cb771 from master.
2013-01-31 13:55:00 +01:00
Aymeric Augustin d5ad9d3dfe [1.5.x] Fixed #19076 -- Added content_type attribute to TemplateView.
Thanks Gavin Wahl.

Backport of 23e319d.
2013-01-30 21:34:39 +01:00
Tim Graham 5da6ce11ed [1.5.x] Fixed typos in docs and comments
Backport of ee26797cff from master
2013-01-29 10:58:24 -07:00
Tim Graham 42fcfcaa52 [1.5.x] Fixed #19577 - Added HTML escaping to admin examples.
Thanks foo@ for the report and Florian Apolloner for the review.

Backport of eafc036476 from master
2013-01-25 06:56:38 -05:00
Tim Graham 2e6b0c5ca7 [1.5.x] Fixed #19610 - Added enctype note to forms topics doc.
Thanks will@ for the suggestion.

Backport of 0de2645c00 from master
2013-01-23 04:50:24 -05:00
Tim Graham dc0bf53276 [1.5.x] Fixed #19477 - Documented generic_inlineformset_factory
Thanks epicserve for the suggestion.

Backport of 214fb700b9 from master
2013-01-22 18:18:32 -05:00
Tim Graham 34718395ed [1.5.x] Fixed #19640 - Added inlineformset_factory to reference docs.
Thanks wim@ for the suggestion.

Backport of 5b2d9bacd2 from master
2013-01-22 07:58:09 -05:00
Tim Graham 40d8b6e28c [1.5.x] Fixed #19597 - Added some notes on jQuery in admin.
Thanks Daniele Procida.

Backport of d406afe12e from master
2013-01-15 20:01:08 -05:00
Tim Graham b7828705c8 [1.5.x] Clarified WizardView.get_form_prefix doc, refs #19024
Backport of c9b577ead6 from master
2013-01-15 08:09:43 -05:00
Tim Graham 360676d9d8 [1.5.x] Fixed #19605 - Removed unused url imports from doc examples.
Thanks sergzach for the suggestion.

Backport of 43f89e0ad6 from master
2013-01-15 07:52:06 -05:00
Ramiro Morales 9d4f906d47 [1.5.x] Minor DEBUG setting reference formatting edit.
1bbd36a36a from master.
2013-01-14 09:52:13 -03:00
Tim Graham 64f1a175bd [1.5.X] Added details on minified jQuery and DEBUG mode for contrib.admin.
Thanks Daniele Procida.

Backport of 4720117a31 from master
2013-01-13 15:12:50 -05:00
Aymeric Augustin d828c5c3a0 [1.5.x] Fixed typo in file storage docs.
Thanks Jørgen Abrahamsen.

Backport of 0ca2d1e.
2013-01-13 19:37:21 +01:00
Stephan Jaekel f16eb0b0d0 [1.5.x] Fixed #19024 -- Corrected form wizard docs for get_form_prefix.
Backport of 17f8496fe from master.
2013-01-12 15:55:42 +01:00
Tim Graham c94fcc4117 [1.5.x] Fixed #10239 - Added docs for modelform_factory
Thanks ingenieroariel for the suggestion and slurms for the review.

Backport of 71d76ec011 from master
2013-01-11 06:01:19 -05:00
Tim Graham 72ef63bf86 [1.5.x] Fixed #19588 - Added create_superuser to UserManager docs.
Thanks minddust for the report.

Backport of 4da5947a87 from master
2013-01-10 15:17:37 -05:00
Tim Graham 7f7b6a369b [1.5.x] Fixed #19586 - Removed URL_VALIDATOR_USER_AGENT from setting docs.
It was removed in Django 1.5, not deprecated.

Backport of 066cf2d70e from master
2013-01-09 18:34:36 -05:00
Claude Paroz 012229914c [1.5.x] Created special PostgreSQL text indexes when unique is True
Refs #19441.
Backport of c698c55966 from master.
2013-01-07 21:02:02 +01:00
Tim Graham be1e006c58 [1.5.x] Fixed #19516 - Fixed remaining broken links.
Added -n to sphinx builds to catch issues going forward.

Backport of 9b5f64cc6e from master.
2013-01-02 18:50:00 -05:00
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
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
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
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
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
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
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
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 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
Ramiro Morales 470f3eca34 [1.5.x] Added PASSWORD_HASHERS to settings reference document.
abd0f304b1 from master.
2012-12-19 15:10:39 -03:00
Tim Graham 034c355118 [1.5.X] Fixed #19470 - Clarified widthratio example.
Thanks orblivion for the suggestion.

Backport of 6534a95ac3 from master
2012-12-18 08:20:51 -05:00
Tim Graham 53b40d75b7 [1.5.X] Fixed #18718 - Documented django.utils.encoding.filepath_to_uri
Backport of 507c081484 from master
2012-12-16 14:40:10 -05:00
Claude Paroz d196f8f7eb [1.5.X] Removed obsolete contrib.comments upgrade guide
The old comment system was pre-1.0.

Backport of 44815bad6b from master
2012-12-15 08:15:16 -05:00
Aymeric Augustin 44e56238d7 [1.5.x] Fixed #2304 -- Documented TRANSACTIONS_MANAGED.
Backport of a001f3c.
2012-12-14 21:16:04 +01:00
Tim Graham d92d9cf2aa [1.5.X] Fixed #19377 - Emphasized database host link in tutorial
Backport of 0eed8ece32 from master
2012-12-11 16:35:37 -05:00
Claude Paroz a0578a1a1c [1.5.x] Fixed #19444 -- Clarified IGNORABLE_404_URLS documentation
Backport of 53b879f045 from master.
2012-12-07 17:42:17 +01:00
Daniele Procida a8045c3af2 [1.5.x] Amended explanation of LOCALE_PATHS setting.
Thanks Daniele Procida for the patch.

37abad73d6 from master.
2012-12-04 20:20:35 -03:00
Claude Paroz 47c5b50d34 [1.5.x] Fixed #19354 -- Do not assume usermodel.pk == usermodel.id
Thanks markteisman at hotmail.com for the report.
Backport of 0eeae1505 from master.
2012-11-29 21:52:22 +01:00
Claude Paroz 89593048e2 [1.5.x] Fixed #19366 -- Prevented GEOSIndexError when comparing geometries
Thanks Craig de Stigter for the report and collaboration on the
patch.
Backport of cc3c4a9d5 from master.
2012-11-28 22:34:43 +01:00
Jason Yan 54ce0ff7ba [1.5.x] Fixed #19374 -- Typo in docs/ref/models/instances.txt.
Backport of eeaab083f from master.
2012-11-28 09:28:21 +01:00
Tim Graham ecf292aa2c [1.5.X] Fixed #19239 - Added examples for generic date views
Thank-you Daniel Greenfeld and Scott Nixon.

Backport of 38055222bd from master
2012-11-27 19:30:44 -05:00
Julien Phalip 22ca5bab95 [1.5.x] Fixed #17646 -- Added a get_list_filter() method to ModelAdmin. Thanks to rasca for the suggestion and to mateusgondim for the patch.
Backport of ae206d78f6
2012-11-25 20:43:18 +01:00
Aymeric Augustin 72231610b3 [1.5.x] Fixed two typos.
Backport of f89901d from master.
2012-11-25 19:32:25 +01:00
Aymeric Augustin 8c2f36260e [1.5.x] Fixed #19280 -- Raised an explicit exception for the old {% url %} syntax.
Backport of 6b8a7ce.
2012-11-24 22:05:41 +01:00
Tim Graham c90156fc18 [1.5.X] Fixed #19348 - Clarified the units of filesizeformat.
Thanks george_edison for the report and Claude Paroz for the patch.

Backport of 63e6cd1bb3 from master
2012-11-23 07:02:29 -05:00
Tim Graham 918d020de2 [1.5.X] Fixed #19346 - Typo in docs/ref/contrib/gis/install/index.txt
Backport of c13912ac7f from master
2012-11-22 18:02:20 -05:00
Tim Graham 42fa51c002 [1.5.X] Fixed #18974 - Warned against using models.permalink
Thanks dstufft for the draft patch.

Backport of 0e3690d230 from master
2012-11-22 16:10:42 -05:00
Tim Graham 84dc6afac7 [1.5.X] Documented behavior of get_or_create when multiple objects are returned.
Thanks Matt Lauber for the patch.

Backport of 71a3162a70 from master
2012-11-22 10:37:17 -05:00
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