Commit Graph

1893 Commits

Author SHA1 Message Date
Tim Graham 42f8029b36 [1.6.x] Fixed #22613 -- Added formfield_for_choice_field() to the list of methods that InlineModelAdmin supports.
Backport of 986bd41f8a from master
2014-05-12 07:01:23 -04:00
Markus Amalthea Magnuson 129c446e86 [1.6.x] Insert space.
Backport of 8eb51a8cf6 from master
2014-05-11 16:18:21 -04:00
Claude Paroz dd9cedf16a [1.6.x] Updated the messages context processor docs 2014-05-06 20:40:59 +02:00
Tim Graham 5783088eec [1.6.x] Fixed #1349 -- Clarified docs on serving files from STATIC/MEDIA_URL.
Backport of fb7c347f7b from master
2014-05-05 07:39:08 -04:00
Moayad Mardini 2b0e9aa57d [1.6.x] Fixed #22493 - Added warnings to raw() and extra() docs about SQL injection
Thanks Erik Romijn for the suggestion.

Backport of 3776926cfe from master
2014-04-25 09:56:39 -04:00
Malcolm Box 42659ceb3f [1.6.x] Fixed #22516 -- Added versionchanged annotation for STATIC_ROOT default value.
Backport of 658710be00 from stable/1.7.x
2014-04-25 09:36:56 -04:00
Marti Raudsepp c5306d4af1 [1.6.x] Various documentation typo/spelling fixes
Errors detected by Topy (https://github.com/intgr/topy), all changes
verified by hand.

Backport of 11d453bcad from master
2014-04-22 20:13:43 -04:00
Erik Romijn 5f0829a27e [1.6.x] Fixed queries that may return unexpected results on MySQL due to typecasting.
This is a security fix. Disclosure will follow shortly.

Backport of 75c0d4ea3a from master
2014-04-21 18:30:27 -04:00
Matt Lauber 25adac9b42 [1.6.x] Corrected the section identifier for MySQL unicode reference.
Backport of b2514c02e1 from master
2014-04-21 13:20:51 -04:00
Tim Graham 1b43131b5d [1.6.x] Moved RemoteUserBackend documentation to reference guide.
Backport of 26d118c3fe from master
2014-04-18 16:11:10 -04:00
Moayad Mardini b6863879e1 [1.6.x] Fixed #22458 -- Added a note about MySQL utf8_unicode_ci collation
Thanks tobami at gmail.com for the report.

Backport of 11ac50b18e from master
2014-04-18 15:11:14 -04:00
Tim Graham 839deb7a77 [1.6.x] Fixed #22473 -- Emphasized that Model.clean() is not called from Model.save().
Backport of b43bbd6d39 from master
2014-04-18 15:03:30 -04:00
Ben Davis e093060823 [1.6.x] Fixed #22220 -- Added more examples to reverse() documention.
Thanks EvilDMP for the suggestions.

Backport of 030dd4f72c from master
2014-04-16 20:31:09 -04:00
Tim Graham a476b15aa5 [1.6.x] Added RemoteUserMiddleware to middleware reference page.
Backport of 465980d070 from master.
2014-04-16 07:30:50 -04:00
Tim Graham de95867284 [1.6.x] Fixed #21353 -- Noted that description is ignored for TabularInlines.
Thanks nofinator for the report.

Backport of d5031ecf88 from master
2014-04-10 13:33:34 -04:00
Shai Berger d5cef2a19c [1.6.x] Documentation fixes for the select_for_update change.
Refs #22343; thanks Tim Graham for the fixes.
2014-04-10 03:44:45 +03:00
Shai Berger 690a5984a3 [1.6.x] Fixed #22343 -- Disallowed select_for_update in autocommit mode
The ticket was originally about two failing tests, which are
fixed by putting their queries in transactions.

Thanks Tim Graham for the report, Aymeric Augustin for the fix,
and Simon Charette, Tim Graham & Loïc Bistuer for review.

Backport of b990df1d63 from master
2014-04-10 02:15:14 +03:00
ejstronge 32529e6432 [1.6.x] Fixed small typo in django-admin.txt
The word 'by' seemed to be missing from the first line of the compilemessages command.

Backport of 5ca522b9ed from master
2014-04-09 07:13:45 -04:00
Vishal Lal 1cce00a762 [1.6.x] Fixed #22372 -- Improved description of WizardView.get_context_data().
Thanks simon29 for the report.

Backport of a8e2ec0e82 from master
2014-04-03 08:28:02 -04:00
Tim Graham f0d03d41be [1.6.x] Replaced urllib/urlparse imports with from django.utils.six.moves.
Backport of 981b864fbd from master
2014-03-31 07:55:33 -04:00
Tim Martin fe83cfe9ed [1.6.x] Fixed #21941 -- Documented the kwargs param of django.conf.urls.url().
Thanks cjerdonek for the report.

Backport of a779757706 from master
2014-03-27 07:02:06 -04:00
Tim Graham c0a9c2f72a [1.6.x] Fixed #22322 -- Fixed incorrect explanation of what managed=False does.
refs #14305.

Thanks Adrian Klaver for the report.

Backport of 9b7ba8af1b from master
2014-03-25 14:10:29 -04:00
Adam Kaliński 38096da5c0 [1.6.x] Fixed #22048 - Enhanced docs to cover nonexistent one-to-one relationships.
Thanks EvilDMP for the suggestion.

Backport of ec08d62a20 from master
2014-03-24 09:45:56 -04:00
Claude Paroz d908b67e81 [1.6.x] Fixed #22317 -- Fixed documented handler400 default value
Backport of 3f7615cddc from master.
2014-03-23 21:20:43 +01:00
Claude Paroz d1503afd66 [1.6.x] Improved strip_tags and clarified documentation
The fact that strip_tags cannot guarantee to really strip all
non-safe HTML content was not clear enough. Also see:
https://www.djangoproject.com/weblog/2014/mar/22/strip-tags-advisory/
Backport of 6ca6c36f8 from master.
2014-03-22 11:07:27 +01:00
Aymeric Augustin c8c2d60614 [1.6.x] Small doc changes missed in 66076268.
Partial backport of 253e8ac2 from master.
2014-03-21 22:11:50 +01:00
Tim Graham 0726482c9d [1.6.x] Replaced an instance of PIL with Pillow in the docs.
Backport of 563d6a6bba from stable/1.7.x
2014-03-21 11:25:18 -04:00
Daniel Pyrathon 9f7bd83184 [1.6.x] Fixed #22242 -- Documented common cookie size limit.
Backport of 885e7adf56 from master
2014-03-16 10:47:08 -04:00
Tim Graham f582b61f1c [1.6.x] Fixed typo in docs/ref/django-admin.txt
Thanks Wes Kendall for the report.

Backport of ce3d9f847d from master
2014-03-11 08:10:40 -04:00
Tim Graham e7649789ed [1.6.x] Fixed #21908 -- Added example usage for ModelAdmin.get_inline_instances().
Thanks matt at schinckel.net for the suggestion.

Backport of 5a4f1298cf from master
2014-03-03 10:42:32 -05:00
Baptiste Mispelon 4aaea2921d [1.6.x] Fixed some typos in the documentation.
Thanks to Rodolfo Carvalho and Piotr Kasprzyk
for the patch.

Partial backport of ea4da8e63c from master.
2014-03-02 17:21:10 +01:00
navneet suman f2b513c9e8 [1.6.x] Fixed #22145 -- Clarified docs on Field.blank and Field.null options.
Thanks skipjack at peru.com for the suggestion.

Backport of 3390550f6f from master
2014-02-25 21:01:02 -05:00
Alasdair Nicol 39b099bdd2 [1.6.x] Fixed #22112 -- Added RedirectView.pattern_name to CBV flattened index
Also moved accessor method get_redirect_url next to its attribute url
for consistency with the other views.

Thanks nikunj.sg for the report

Backport of 462edd22e5 from master.
2014-02-23 13:58:08 +01:00
Marcin Sokół 98070b94a9 [1.6.x] Fixed #21902 -- Documented search order for list_display.
Backport of 09b725f51b from master.
2014-02-23 13:54:56 +01:00
Jochem Oosterveen 882f2a5b81 [1.6.x] Fixed #22092 -- Documented ResolverMatch.view_name
Backport of 271929dd9d from master.
2014-02-23 13:54:17 +01:00
Marcin Sokół 79cc1fa58d [1.6.x] Fixed #22113 -- changed object_name to model_name in CBV docs.
Thanks to trac user nikunj.sg for the report.

Backport of b887408486 from master.
2014-02-23 13:52:45 +01:00
Baptiste Mispelon a36513c2b4 [1.6.x] Fixed #21881 -- Clarify behavior of {% ssi %} template tag.
When using the `parsed` option, {% ssi %} has the same limitation
as {% include %}, namely that the rendering of the included
template is done separately.

Thanks to trac user nagyv for the report and to alextreme for
the patch.

Backport of 072fb923e1 from master.
2014-02-23 13:52:14 +01:00
Alex de Landgraaf 23cbfc9a25 [1.6.x] Fixed #22063 -- Added reference to NoReverseMatch from the reverse() documentation
Backport of b645be80e9 from master.
2014-02-23 13:51:42 +01:00
Zbigniew Siciarz 14366ed33e [1.6.x] Fixed #22013 -- Documented difference between SERVER_EMAIL and DEFAULT_FROM_EMAIL.
Backport of 44814e78cc from master
2014-02-15 13:30:13 -05:00
Baptiste Mispelon dbb9819360 [1.6.x] Fixed inaccuracies in generic mixins documentation.
Backport of a5391db76a from master.
2014-02-09 11:00:25 +00:00
Ian Foote 05cef1939e [1.6.x] Fix typo CRSF -> CSRF
Backport of af64f829d7 from master
2014-01-29 12:08:42 -05:00
Tim Graham c91e772b3a [1.6.x] Fixed some punctuation; thanks Chris Jerdonek.
Backport of 81830ce34f from master
2014-01-23 09:05:09 -05:00
Baptiste Mispelon 6bf05c0267 [1.6.x] Always use parentheses when documenting a method with no arguments.
Backport of 05d36dc06e from master.
2014-01-22 23:00:06 +01:00
Baptiste Mispelon 6bca149af5 [1.6.x] Don't show `self` in the list of arguments of a method.
This is consistent with Python's official documentation
and it's a sphinx recommendation too[1].

[1] http://sphinx-doc.org/markup/desc.html#dir-method

Refs #21855.

Backport of 79e1d6ebd7 from master.
2014-01-22 22:59:55 +01:00
Tim Graham a4c32d70c2 [1.6.x] Fixed #21529 -- Noted that {% url %} encodes its output (refs #13260).
Backport of dfc092622e from master
2014-01-22 10:45:10 -05:00
Tim Graham 85149a8b7f [1.6.x] Fixed #18942 -- Clarified usage of {% get_static_prefix %}.
Thanks Aymeric for the suggestion.

Backport of bc7668eb51 from master
2014-01-17 16:06:54 -05:00
Tim Graham 4f058655d0 [1.6.x] Fixed #13116 -- Described scope of variables created by {% url ... as var %} syntax.
Thanks leif_p for the suggestion.

Backport of 4a5aac47a6 from master
2014-01-17 14:52:02 -05:00
Tim Graham b1cc1633e0 [1.6.x] Fixed #18285 -- Documented that bulk_create doesn't work with M2M relationships.
Backport of 9173d2cb74 from master
2014-01-16 20:49:06 -05:00
Tim Graham 363b8c690a [1.6.x] Fixed #21768 -- Corrected TemplateView context section.
Thanks nedbatchelder for the report and claudep for the patch.

Backport of c05b2f58e7 from master
2014-01-16 07:59:15 -05:00
Kevin Wood deefdc8e60 [1.6.x] Fixed typo in storage docs
Backport of 82f466b571 from master
2014-01-15 18:44:47 -05:00