1
0
mirror of https://github.com/django/django.git synced 2025-01-15 21:02:52 +00:00

1924 Commits

Author SHA1 Message Date
Daniel Lindsley
1e594b257e [1.8.x] Fixed #23984 -- Added Javascript i18n documentation
This fleshes out the documentation around all of the exported
Javascript functions available from the ``javascript_catalog``
view.

Backport of 8ca9bc5ec326c0b01634dac264a9ba6f0857483e from master
2015-04-16 08:19:30 -04:00
Tim Graham
62012b071e [1.8.x] Removed docs for removed transaction APIs.
Backport of 6b8c969878fb937c94eaf2cdc3de94554f171bdd from master
2015-04-14 13:53:18 -04:00
Tim Graham
993074d78d [1.8.x] Fixed #24429 -- Doc'ed that Django 1.8 doesn't require an integer PK for custom user models.
Backport of 981e3b9394022810bd536474344e2f91c190b858 from master
2015-04-07 10:47:48 -04:00
Patrik Lundin
b3d36c3514 [1.8.x] Specified file names for example code in docs/topics/forms/index.txt
Backport of f9c212d09ad59cd5b5d9be06e92be87d44c75d95 from master
2015-04-07 09:35:39 -04:00
Thomas Güttler
ffa5a7550d [1.8.x] Added admonition about reusable apps and AUTH_USER_PROFILE.
Backport of 566c9362363f4b65cc64a35f907c2d6c39d0289e from master
2015-04-06 19:50:23 -04:00
Sam Thursfield
5cc0407e45 [1.8.x] Fixed #24556 -- Added reminder about HTTPS to passwords docs.
Backport of 1119063c69eb4fc091c212e59462f3ec3d5676a4 from master
2015-04-03 10:55:35 -04:00
Aymeric Augustin
ae4d21e159 [1.8.x] Pointed Jinja2 users to Babel instead of makemessages.
Backport of 8520551 from master
2015-04-01 22:37:39 +02:00
Kostochko Dmitriy
c2674c2103 [1.8.x] Fixed typo in docs/topics/cache.txt
Backport of d026eb63666a34382912cf68af75492fc583b9db from master
2015-03-31 21:16:26 -04:00
Tim Graham
793ecf6db7 [1.8.x] Documented jinja2 install requirement.
Backport of 56286542dbb7d1cca253b25de0eb3eb4392ff271 from master
2015-03-31 07:45:02 -04:00
Jorge Barata González
2bddc74b42 [1.8.x] Fixed #15590 -- Documented how the path of a FileField can be changed.
Thanks simon29 for report, and freakboy3742, floledermann,
jacob, claudep and collinanderson for discussing the task.

Backport of 931a340f1feca05b7a9f95efb9a3ba62b93b37f9 from master
2015-03-30 10:39:14 -04:00
Christopher Luc
c4e8f21a9c [1.8.x] Fixed #24281 -- Improved docs for timezone handling for auto_now and auto_now_add
Thanks djbug for the report and Aymeric Augustin and Carl Meyer for the
review.

Backport of 8119876d4a533fbc2ba4d1c30eaddbcc28119488 from master
2015-03-29 23:38:51 +02:00
Tim Graham
a70dea2c06 [1.8.x] Fixed #24541 -- Clarified ModelFormSet's handling of initial data.
Backport of 6de3a1e2c34ae5bfcdec3ebbf3d682aa578ecae0 from master
2015-03-28 08:59:50 -04:00
Tim Graham
b0846a040e [1.8.x] Fixed syntax highlighting in docs/topics/auth/default.txt
Backport of 3e132406e3a95b3fe54e75129013e10bf3e9e86a from master
2015-03-28 07:51:37 -04:00
SaeX
6f69e77a9e [1.8.x] Fixed typo in docs/topics/forms/modelforms.txt
Backport of 19e41a9799079ddae3ba94f95d25577ab4232037 from master
2015-03-28 07:40:54 -04:00
David Seddon
ef61b69447 [1.8.x] Corrected typo in documentation
Backport of 0f6f80c2e7736ec4e2aa40287fe8c37ffff0a783 from master
2015-03-25 13:44:13 -04:00
Tim Graham
0dc986d1c8 [1.8.x] Fixed #24361 -- Clarified docs on reconfiguring logging.
Thanks Tuttle for the report and draft patch, and Carl Meyer for
help and review.

Backport of c633667da3605208ea5fc137f5322c599f48da69 from master
2015-03-24 12:26:25 -04:00
Matt Seymour
09933aef68 [1.8.x] Fixed #24501 -- Improved auth.decorators.user_passes_test() example.
Backport of fca14cd3f27a01f7ba1fe32ea9587fa75b85713a from master
2015-03-24 10:30:30 -04:00
Bas Peschier
015a9b928a [1.8.x] Fixed #13525 -- Added tests and docs for nested parameters in URL patterns.
When reversing, only outer parameters are used if captured parameters are
nested. Added tests to check the edge cases and documentation for the
behavior with an example to avoid it.

Backport of 23a5d64f40b0f4a3fbfef7427ca793cb1df1034e from master
2015-03-23 08:43:58 -04:00
Iacopo Spalletti
6da4ce5365 [1.8.x] Fixed #23814 -- Pointed localflavor documentation to external package
Edited localflavor doc to point to the external package documentation,
leaving just the 'How to migrate' section in Django.

Backport of 87fed9444033533ad7105c4b1e4ffc5d7854a2c6 from master.
2015-03-22 15:36:44 +01:00
David Seddon
744d9a10ef [1.8.x] Refs #14645 -- Documented bug with exclude() and multi-value relations
Backport of 6770b7ecd208a0746f181e54202fb829460c6490 from master
2015-03-20 17:51:57 -04:00
Claude Paroz
5da3153d56 [1.8.x] Fixed #23520 -- Explained that custom plural forms should be avoided
Thanks aruseni for the report.
Backport of 556eb67701 from master.
2015-03-20 20:46:02 +01:00
Karl Hobley
a8c53041f9 [1.8.x] Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed.
Backport of 81e1a35c364e5353d2bf99368ad30a4184fbb653 from master
2015-03-18 19:12:46 -04:00
Adrian Andreias
63b998a653 [1.8.x] Fixed allow_migrate() signature in router examples.
Backport of 937643a1f215d7d2063b256269d757a2ee316f07 from master
2015-03-16 09:39:41 -04:00
Floris den Hengst
bd36f2d432 [1.8.x] Fixed doc typos.
Backport of e42a720ba22a51c68d2316d425234a197eaff467 from master
2015-03-14 12:29:27 -04:00
Andrei Kulakov
937c8a5a14 [1.8.x] Fixed #24052 -- Doc'd how to write data migrations with models in multiple apps.
Backport of b089759d6025582f36fbea3c4be3855c50b82462 from master
2015-03-13 13:24:18 -04:00
Remco Kranenburg
6f555e54f7 [1.8.x] Refs #23559 -- warned about consequences of letting users edit User model in admin.
Backport of f6b09a7f85c3b67b2011553838b079788c413432 from master
2015-03-13 08:51:24 -04:00
Dan Fellin
9f39715509 [1.8.x] Fixed typo in docs/topics/forms/modelforms.txt.
Backport of 6ff826e12ea99c0eb871716cfedc2c8e199695f3 from master
2015-03-11 19:58:14 -04:00
Psilo Cybin
b25e542ecd [1.8.x] Fixed #24456 -- Added links to topics/forms/modelforms.txt.
Backport of 866e71140f9612e45087b8acafefa2e51ffc4a29 from master
2015-03-09 20:53:05 -04:00
Rik
930fc4db7b [1.8.x] Fixed #21661 -- Expanded authentication views documentation
Backport of eb9b7abb833a6d317e355265552d47e0d8f24af8 from master.
2015-03-08 20:40:33 +01:00
Marten Kenbeek
bd7c879d5a [1.8.x] Stressed authentication should be successful before logging in a user.
Backport of 8e744fa1507b6d425860c54e7673e603279367eb from master
2015-03-05 12:18:13 -05:00
Tim Graham
cc525e31bb [1.8.x] Fixed #13015 -- Clarified language about model instances attached to forms.
Backport of a40a34a4b2d79dbf798df538c26222148d42b17c from master
2015-03-02 18:45:27 -05:00
Sean Wang
f0780df608 [1.8.x] Fixed #24358 -- Corrected code-block directives for console sessions.
Backport of eba6dff581aa8bd6a1c08456e83e68ad09ae4ec3 from master
2015-02-22 09:36:51 -05:00
Loic Bistuer
3a6c37fce4 [1.8.x] Fixed #24351, #24346 -- Changed the signature of allow_migrate().
The new signature enables better support for routing RunPython and
RunSQL operations, especially w.r.t. reusable and third-party apps.

This commit also takes advantage of the deprecation cycle for the old
signature to remove the backward incompatibility introduced in #22583;
RunPython and RunSQL won't call allow_migrate() when when the router
has the old signature.

Thanks Aymeric Augustin and Tim Graham for helping shape up the patch.

Refs 22583.

Conflicts:
	django/db/utils.py

Backport of bed504d70bede3431a213203c13a33905d6dbf77 from master
2015-02-20 21:55:50 +07:00
Tim Graham
e4df10668c [1.8.x] Added an import to docs/topics/testing/advanced.txt example.
Backport of 32b67b3fd1d252566f60cf38fe1459bb83de2ce2 from master
2015-02-17 13:53:57 -05:00
Tim Graham
fb9551189d [1.8.x] Fixed #24350 -- Freshened up database install topic section.
Backport of 35f0cae19de226d9d7771304fc8dd2619e644998 from master
2015-02-16 14:59:57 -05:00
Carl Meyer
e63d9b98e7 [1.8.x] Fixed #23892 -- Clarified compatibility policy for migrations.
Backport of e35c70bef44805d47f6a4ae692be878184c4fe1f from master
2015-02-16 10:12:13 -05:00
Aymeric Augustin
e8950668ca [1.8.x] Deprecated TEMPLATE_DEBUG setting.
Backport of 15b711b from master.
2015-02-15 20:48:48 +01:00
Aymeric Augustin
69c662c981 [1.8.x] Documented how to set up the Jinja2 environment.
This may also help with "Why do context processors not work in Jinja2
templates?" etc.

Backport of 9fbd302 from master
2015-02-15 20:44:40 +01:00
Markus Holtermann
bd80fa6b0f [1.8.x] Fixed #24184 -- Prevented automatic soft-apply of migrations
Previously Django only checked for the table name in CreateModel
operations in initial migrations and faked the migration automatically.
This led to various errors and unexpected behavior. The newly introduced
--fake-initial flag to the migrate command must be passed to get the
same behavior again. With this change Django will bail out in with a
"duplicate relation / table" error instead.

Thanks Carl Meyer and Tim Graham for the documentation update, report
and review.

Backport of f287bec5833d75750fa6368bc2802741b7924533 from master
2015-02-13 15:21:10 +01:00
Thomas Güttler
6b8c8d7e18 [1.8.x] Clarified timeout=0 in cache docs.
Backport of e519ee1d352e0e36fcb8edc9d33ec2845f663d3a from master
2015-02-12 10:32:56 -05:00
minusf
5bc9904b35 [1.8.x] Removed inaccurate sentence about PO files in translation docs.
Backport of aea103b6a599a5e4c71a355b2cac237f067be13b from master
2015-02-06 07:46:14 -05:00
Tim Graham
dd83bab931 [1.8.x] Demoted "Installing a distribution-specific package" in install notes.
Backport of 281fc03474ac18c8281ed4cf289128c87bda2030 from master
2015-02-03 16:38:05 -05:00
Tim Graham
ff39de1e1e [1.8.x] Added a "Writing migrations" how-to.
Backport of 570912a97d5051fa3aeacd9d16c3be9afcf92198 from master
2015-02-03 13:46:56 -05:00
Aymeric Augustin
f87457a460 [1.8.x] Fixed #24168 -- Allowed selecting a template engine in a few APIs.
Specifically in rendering shortcuts, template responses, and class-based
views that return template responses.

Also added a test for render_to_response(status=...) which was missing
from fdbfc980.

Thanks Tim and Carl for the review.

Backport of 2133f31 from master.

Conflicts:
	docs/topics/http/shortcuts.txt
	tests/generic_views/test_base.py
2015-02-03 08:32:14 +01:00
Matt Westcott
ef90ca5f42 [1.8.x] Fixed #24255 -- Specifed 'fields' parameter in modelformset_factory / inlineformset_factory examples.
Backport of 8d64aae883f7721c33f88276e7c999844085659f from master
2015-02-02 10:47:42 -05:00
Tim Graham
6d0538bd8c [1.8.x] Simplified a versionchanged notes for LiveServerTestCase. 2015-02-01 21:06:27 -05:00
Andrei Kulakov
3d3c7a62c8 [1.8.x] Updated recommendation for testing keyword arg in custom fields.
Backport of dbabf43920bfd99f0e720c7c20228c17128a2af8 from master
2015-01-30 08:30:03 -05:00
Rick Hutcheson
801287bff2 [1.8.x] Fixed a typo in the test responses docs.
Backport of 996292d6498d25c6b3e84435e82edeff5aaa0257 from master
2015-01-16 18:24:44 -05:00
Keryn Knight
726a9550db Fixed #24143 -- Encouraged use of Http404 messages for debugging. 2015-01-16 09:41:01 -05:00
Collin Anderson
26a92619f6 Fixed #24124 -- Changed context_processors in the default settings.py 2015-01-12 13:17:44 -05:00