1
0
mirror of https://github.com/django/django.git synced 2025-03-14 19:30:46 +00:00

1964 Commits

Author SHA1 Message Date
Simon Charette
c3a40af6ec [1.6.x] Added warning about get_inline_instances() permission checking; refs #23754.
Backport of e0d1f2684ae60573b209783f9fd4f9db163ad704 from master
2014-11-25 13:15:06 -05:00
Alasdair Nicol
61be9373af [1.6.x] Added missing backticks to form validation docs
Backport of 38ab0f13fac428dd05dad02ef7c94da5035927ad from master
2014-11-20 11:10:09 -05:00
Michal Petrucha
614dd44d0d [1.6.x] Fixed #23817 -- Updated docs on QuerySet evaluation
Removed inaccurate info about partial evaluation after refs #18702.
Added information on modifying sliced QuerySets; refs #22503.

Backport of 327df551e89a505c5756becee97c40198f38aff2 from master
2014-11-20 09:35:41 -05:00
Peter Sagerson
2e7ca09940 [1.6.x] Fixes a race condition in the documentation.
The example for django.contrib.admin.ModelAdmin.get_form modifies
self.exclude. However, since ModelAdmin instances are global and have no
thread- or request-locality, this is not safe for concurrent
requests.[1] This updated documentation demonstrates a safe method to
override admin forms on a per-request basis.

[1] https://groups.google.com/forum/#!topic/django-users/AmoUDtEefyA

Backport of 0d1a9d203a970a82a2f81edf0ba7d4b55442fd78 from master
2014-11-16 14:33:29 +01:00
Berker Peksag
159978e5c0 [1.6.x] Fixed #23665 -- Noted precedence of settings.USE_L10N in MONTH_DAY_FORMAT and YEAR_MONTH.
Backport of 4f90c99635149fae2f488c03f0b52303fe97e0aa from master
2014-11-15 09:56:35 +01:00
Tim Graham
b078ccf8bf [1.6.x] Fixed #23774 -- Clarified QuerySet.order_by() and related models.
Backport of 11b7680d0e from master
2014-11-12 22:01:12 +01:00
Tim Graham
89df9d244d [1.6.x] Fixed #23736 -- Corrected the description of the value that silent_variable_failure uses.
Thanks Aymeric Augustin for the report.

Backport of e7cb4f2fba from master
2014-10-30 18:44:54 -04:00
Tim Graham
de88256854 [1.6.x] Fixed #23737 -- Recommended the render() shortcut more strongly.
Thanks Aymeric Augustin for the report.

Backport of f85fcc75e3 from master
2014-10-30 18:35:19 -04:00
Zan Anderle
5fa841d22f [1.6.x] Explained why admindocs omits model methods with arguments.
Backport of 9e3aaa5a46 from master
2014-10-30 18:19:51 -04:00
Raul Cumplido
10890606bc [1.6.x] Fixed #23725 -- Substituted AUTH_USER_MODEL for User in docs.
Backport of 68d3db8a7b from master
2014-10-30 08:30:38 -04:00
P.A. SCHEMBRI
aa9e90d849 [1.6.x] Added cross reference in admin docs to topic about saving objects in formsets.
Backport of 388c6038fd from master
2014-10-29 13:39:24 -04:00
Oliver Meinusch
deb11b0edf [1.6.x] Fixed QuerySet datetimes argument name in docs.
Backport of 6b39401baf from master
2014-10-27 19:50:25 -04:00
wrwrwr
ab0899fc6b [1.6.x] Fixed a typo in urlencode documentation.
Backport of 62a53bdf11 from master
2014-10-19 19:20:32 -04:00
Jon Dufresne
7d90fed1a0 [1.6.x] Fixed #23676 -- Rearranged sentence; "by default" applies only to max length
Backport of c1b9f99a81 from master
2014-10-18 06:56:18 -04:00
Tim Graham
0a31b4ea8e [1.6.x] Fixed #23631 -- Removed outdated note on MySQL timezone support.
Thanks marfire for the report.

Backport of 9db3653670 from master
2014-10-10 15:22:40 -04:00
Kostochko Dmitriy
e24b246e2b [1.6.x] Updated links in admin docs to use :ref:
per Sphinx docs: "Using ref is advised over standard reStructuredText
links to sections because it works across files, when section headings
are changed, and for all builders that support cross-references.

Backport of 13409b932a from master
2014-10-06 10:46:47 -04:00
Ismail Badawi
0aad1f1ea9 [1.6.x] Fixed #23597 -- Clarified the manager that {Single,Multiple}ObjectMixin.model uses.
Backport of e501d4c505 from master
2014-10-06 08:24:10 -04:00
jnothman
0004156873 [1.6.x] Added flat=False to signature of QuerySet.values_list()
Backport of 20f868bc5a from master
2014-10-01 13:10:18 -04:00
Duane Hilton
8c0851051d [1.6.x] Fixed #17638 -- Added crosslinks between topic and reference guides.
Thanks oinopion for the suggestion and jarus for the initial patch.

Backport of 054bdfeff1 from master
2014-09-29 18:17:39 -04:00
Joseph Dougherty
9a66244bd8 [1.6.x] Fixed #23499 -- Error in built-in template tag "now" documentation
Backport of ab8248361e0a7b4fc7684eaaa5891e16b8562683 from master.
2014-09-17 09:24:05 +02:00
Collin Anderson
c9e0afe2d3 [1.6.x] Fixed #23340 -- Corrected naturaltime docs to match behavior.
Thanks zachborboa for the report and blackguest for the patch.

Backport of 7353e26d5d from master
2014-09-06 07:48:34 -04:00
Alexey Efimov
24d84520aa [1.6.x] Added missing import in docs/ref/signals.txt.
Backport of 4a303341fc from master
2014-09-02 08:15:07 -04:00
Simon Charette
ce4057591a [1.6.x] Corrected a usage example of related_query_name.
Thanks to Petr Glotov for spotting this.

Backport of 05a8cef428 from master
2014-08-29 23:12:24 -04:00
Tim Graham
4db64e8491 [1.6.x] Fixed #21567 -- Documented how to deploy multiple sites using the sites framework.
Backport of 7b9537fb27 from master
2014-08-26 15:22:32 -04:00
Tim Graham
8e77ac634f [1.6.x] Fixed #23250 -- Documented that ModelMultipleChoiceField queryset may be None.
Backport of ced3e303ca from master
2014-08-26 14:50:42 -04:00
Tim Graham
adb0c535a9 [1.6.x] Fixed spelling mistake in file docs.
Backport of a3e88e64a4 from master
2014-08-26 09:44:55 -04:00
Tim Graham
9bc1091980 [1.6.x] Fixed #22154 -- Added "Built-in" to some class-based views titles.
Backport of 0c9f40f776 from master
2014-08-23 19:31:09 -04:00
Tim Graham
4684464b35 [1.6.x] Fixed #23324 -- Mentioned Site.id in contrib.sites docs.
Backport of a76aab3583 from master
2014-08-22 13:23:58 -04:00
Tim Graham
f8344398fc [1.6.x] Fixed #23343 -- Typo in docs/ref/class-based-views/generic-date-based.txt.
Backport of 14aff0bd82 from master
2014-08-22 11:34:53 -04:00
Simon Charette
f7c494f250 [1.6.x] Prevented data leakage in contrib.admin via query string manipulation.
This is a security fix. Disclosure following shortly.
2014-08-20 11:43:43 -04:00
Tim Graham
dd0c3f4ee1 [1.6.x] Fixed #23157 -- Removed O(n) algorithm when uploading duplicate file names.
This is a security fix. Disclosure following shortly.
2014-08-20 11:43:43 -04:00
Tim Graham
c0e49ef767 [1.6.x] Fixed #21801 -- Documented SingleObjectMixin.get_context_data() requires the object attribute.
Backport of 03c1609c47 from master
2014-08-19 12:09:22 -04:00
Tim Graham
3cd3b49eb5 [1.6.x] Fixed #17272 -- Documented that non-editable fields are skipped during model validation.
Thanks mitar for the report.

Backport of c587bd5a94 from master
2014-08-19 07:18:42 -04:00
Tim Graham
190d81179f [1.6.x] Fixed #4991 -- Emphasized XSS ramifications of help_text not being escaped.
Backport of 5dbe2a9431 from master
2014-08-19 06:16:41 -04:00
Tim Graham
75d7bb8d43 [1.6.x] Fixed #5726 -- Documented that inspectdb doesn't detect defaults.
Backport of 15cafaa565 from master
2014-08-19 06:15:34 -04:00
Zhaorong Ma
73cc96478b [1.6.x] Fixed a grammar error in docs/ref/forms/api.txt.
Backport of bef5b9b7cd from master
2014-08-14 12:15:18 -04:00
Tim Graham
123f490ae3 [1.6.x] Corrected content_type parameter name in sitemap docs.
mimetype was deprecated in 1.5 per 11ec0253ab4cc926ab9e77619132cb398231ac33.

Backport of a7443c24a3 from master
2014-08-13 21:45:32 -04:00
Tim Graham
db1cfbc1a9 [1.6.x] Fixed indentation typo in docs/ref/contrib/sitemaps.txt.
Backport of 2003cb23d4 from master
2014-08-12 12:27:45 -04:00
Tim Graham
d07394a51e [1.6.x] Added a warning that remove_tags() output shouldn't be considered safe.
Backport of 7efce77de2 from master
2014-08-11 07:09:47 -04:00
Tim Graham
5fdfa2d9b4 [1.6.x] Fixed #21792 -- Documented Form.has_changed()
Thanks bjb at credil.org for the suggestion and
Ivan Mesic for the draft patch.

Backport of edcc75e5ac from master
2014-08-05 08:49:38 -04:00
Tim Graham
0dfc37669d [1.6.x] Updated MySQL links to version 5.6.
Backport of fb4f3e04b1 from master
2014-08-02 10:27:34 -04:00
Baptiste Mispelon
8e25b696ba [1.6.x] Fixed #23123 -- Don't use a bare except in ModelAdmin documentation
Thanks to wkschwartz for the report and to Tim for the patch.

Backport of e5619330e2 from master
2014-07-29 06:22:42 -04:00
Moayad Mardini
6c70b1d7df [1.6.x] Fixed #22491 -- documented how select_for_update() should be tested.
Thanks Andreas Pelme for the report.

Backport of 668d432d0a from master
2014-07-28 10:58:34 -04:00
David Hoffman
a7fe87bd28 [1.6.x] Fixed #23106 -- Updated class-based view reference title.
Backport of f14898a453 from master
2014-07-26 20:47:13 -04:00
David Hoffman
e3a99357cb [1.6.x] Fixed #22553 -- Added refreshing queryset info to docs.
Backport of 6d5daa30cf from master
2014-07-26 10:27:49 -04:00
Niclas Olofsson
1c714c18d2 [1.6.x] Fixed #22305 -- Added note to docs about UTF8 database requirement.
Backport of 08b85de9b7 from master
2014-07-26 09:40:31 -04:00
David Hoffman
2630cafc86 [1.6.x] Fixed #23097 -- Switched to new octal format in docs
Backport of e1c85167a3 from master.
2014-07-26 11:24:04 +02:00
Tom Dyson
deeaa78d5e [1.6.x] Improved docs for GEOSGeometry.simplify()
Backport of aa8bc7fa7d from master
2014-07-25 06:22:41 -04:00
africa itcase
290e389fe9 [1.6.x] Fixed typo in docs/ref/contrib/admin/index.txt.
Backport of 06ba4b9eee from master
2014-07-22 13:28:02 -04:00
Iain Dawson
205090bc71 [1.6.x] Replaced instances of 'his/her' with 'their'.
Backport of 8fbf13a6c8 from master
2014-07-21 19:55:28 +00:00