Simon Charette
2fd16232b1
[1.6.x] Fixed #23754 -- Always allowed reference to the primary key in the admin
...
This change allows dynamically created inlines "Add related" button to work
correcly as long as their associated foreign key is pointing to the primary
key of the related model.
Thanks to amorce for the report, Julien Phalip for the initial patch,
and Collin Anderson for the review.
Backport of f9c4e14aeca7df79991bca8ac2d743953cbd095c from master
2014-11-25 13:48:50 -05:00
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
Luke Plant
3c317064d8
[1.6.x] Further fixes to the migration notes for get_query_set
...
This rename is very tricky for the case of subclasses which define
get_query_set and haven't been updated yet, which applies to all projects in
the form of RelatedManager from Django 1.5.
Backport of 0c623da66406d1f20b5e26d497d57da5ad0de066 from master
2014-11-24 15:36:46 +00:00
Danilo Bargen
276332d85c
[1.6.x] Fixed #23543 -- Added docs on testing management command output.
...
Backport of cdee8659763ee7044c1507bcd2202581b1744f0b from master
2014-11-24 10:29:24 -05:00
Luke Plant
1fa2e7aba1
[1.6.x] Better migration docs for get_query_set -> get_queryset
...
This way they won't need to fix things again when get_query_set disappears
Backport of 91e2780dfba5609b0f83d51aee1cf7e8fe78b1f7 from master
2014-11-24 10:13:17 +00:00
Kevin Ndung'u
db227d9d20
[1.6.x] Fixed #23900 -- Added missing imports in code example.
...
The Preventing header injection example included
classes that are not imported.
Thanks to Collin Anderson and Berker Peksağ for the
reviews.
Backport of 0d74209ef66111f29f122d5f5fdf8e2964890cc5 from master.
2014-11-23 23:08:41 +01: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
Erik Romijn
7323e15d87
[1.6.x] Fixed #23793 -- Clarified password reset behavior in auth docs
...
Backport of c5132382f081bd1b5a3618bbf23fa0cf720af14b from master.
2014-11-15 17:46:41 +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
f31e9c7a9d
[1.6.x] Removed thread customizations of six which are now built-in.
...
Backport of 7ef81b5cdd4c8eda12aa7786484a0bfde00aaaa4 from master
2014-11-13 11:34:59 +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
aruseni
bcdfa0eb9a
[1.6.x] Fixed a typo in 1.6 release notes.
...
Backport of 006451f894 from master
2014-11-10 15:39:09 +01:00
Tim Graham
df47f0c918
[1.6.x] Fixed #23785 -- Typo in docs/releases/1.6.txt
...
Backport of 091f5b5a4e from master
2014-11-09 22:12:21 +01:00
Tim Graham
61f20b42cd
[1.6.x] Updated six to 1.8.0.
...
Backport of 81477c91f6 from master
2014-11-04 21:25:08 -05:00
Tim Graham
672015407b
[1.6.x] Fixed #23744 -- Fixed typo in selenium testing example.
...
Thanks djbug for the report.
Backport of 6d0547c1ad from master
2014-11-01 12:37:29 -04:00
Tim Graham
78af6f134b
[1.6.x] Added a warning about direct settings manipulation in tests.
...
Thanks Thomas Chaumeny for the initial patch.
Backport of 3f651b3e88 from master
2014-10-31 13:38:00 -04:00
Tim Graham
4a30e0aeb9
[1.6.x] Fixed #23735 -- Clarified that admindocs must be enabled to view template tag libraries in admin.
...
Thanks Aymeric Augustin for the report.
Backport of 19242c675f from master
2014-10-30 19:04:37 -04: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
Tim Graham
2365c7c230
[1.6.x] Fixed #23734 -- Replaced striptags in template filter overview since it has security implications.
...
Thanks Aymeric Augustin for the suggestion.
Backport of 08c5887f13 from master
2014-10-30 18:27:47 -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
Berker Peksag
28033632f8
[1.6.x] Converted seealso directives to use 4 space indendation.
...
Backport of affc04060f from master
2014-10-30 14:46:31 -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
Tim Graham
54c2c5e048
[1.6.x] Fixed #23708 -- Corrected mod_wsgi docs reference to nonexistent comment in wsgi.py.
...
Thanks inglesp for the report.
Backport of e460b1c573 from master
2014-10-27 18:20:46 -04:00
Ilya Baryshev
0f14263c90
[1.6.x] Fixed documentation of make_password kwargs.
...
Backport of ed7c4df1ee from master
2014-10-27 06:43:35 -04:00
Tim Graham
2bc0dacd40
[1.6.x] Replaced dead links to python-distribute.org.
...
Backport of dc241fdfdf from master
2014-10-24 18:59:21 -04:00
Tim Graham
b087d9b5e6
[1.6.x] Fixed #23705 -- Removed unnecessary AliasMatch from example Apache config.
...
Thanks Keryn Knight for the report.
Backport of 4b0a45ce64 from master
2014-10-23 08:51:19 -04:00
Tim Graham
66be18ea58
[1.6.x] Added release dates to release notes.
...
Backport of 9dc782b631 from master
2014-10-22 12:24:30 -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
a57f32411f
[1.6.x] Fixed some intersphinx references.
...
Backport of babbf18999 from master
2014-10-16 20:10:59 -04:00
Ian Lee
5e4ddcc52d
[1.6.x] Fixed pep8 in docs/topics/logging.txt
...
Backport of 947af46db3 from master
2014-10-15 18:56:09 -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
Emmanuelle Delescolle
c5c4bfa12a
[1.6.x] Fixed #23604 -- Allowed related m2m fields to be references in the admin.
...
Thanks Simon Charette for review.
Backport of a24cf21722 from master
2014-10-06 08:50:48 -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
Luke Plant
e71ef9b6f2
[1.6.x] Documented how to rename get_query_set if you are a library author
...
Backport of ca139bbfdf48bf59b0918a7d675cdc5d4ae60957 from master
2014-10-02 11:35:59 +01: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
Thomas Grainger
9beca95eb0
[1.6.x] Added SuspiciousOperation to list of caught exceptions in testing docs.
...
Backport of 21683011d5 from master
2014-09-24 13:05:09 -04:00
Ola Sitarska
a6c294a5a2
[1.6.x] Fixed #23529 -- Replaced comments tag library with humanize in docs
...
Backport of ee442e97da390b7136dc12b66ddfa70263a60b5c from master.
2014-09-21 17:34:23 +02:00
Tim Graham
aa1939c1d1
[1.6.x] Fixed #23491 -- Clarified tutorial 3.
...
Thanks diek for the suggestion.
Backport of 54fd84e432 from master
2014-09-17 08:43:44 -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
Tim Graham
452587aba8
[1.6.x] Forwardported 1.4.16 release notes.
...
Backport of 0ae79014c0 from master
2014-09-13 09:23:46 -04:00
Gabe Jackson
31b5e3e010
[1.6.x] Added link to LogRecord attributes in logging.txt
...
Backport of c5b4145fca from master
2014-09-11 15:42:48 -04:00
Tim Graham
eba54eb157
[1.6.x] Fixed typo in topics/forms/formsets.txt
...
Backport of e265112cd1 from master
2014-09-10 11:17:57 -04:00