Caio Ariede
5bdf0eafb1
[1.8.x] Fixed #25207 -- Misspelled word in documentation: dialogue
...
Backport of 98eb91171d7bb97327c714ef8e816103555573e6 from master
2015-08-01 19:18:10 -04:00
Matt Robenolt
7e7e447b40
[1.8.x] Removed obsolete note about sentry/raven not handling WSGI properly.
...
2.0.7 was released in 2012.
Backport of 514fee82a18e2b8fed0b6e31a95bd7a1a94980ab from master
2015-08-01 19:11:49 -04:00
Tim Graham
a9a1da4de6
[1.8.x] Fixed #25199 -- Fixed dead link to HTMLdoc.
...
Backport of e176de25127a2750ea1c6a705b2c0983b5782b41 from master
2015-07-30 13:26:36 -04:00
Tim Graham
fc279ed298
[1.8.x] Fixed #25178 -- Added DEFAULT_FROM_EMAIL to deployment checklist.
...
Backport of ae32f324981dd64d7c04fcbed9d99356914a61de from master
2015-07-28 09:45:55 -04:00
Tim Graham
65885f265a
[1.8.x] Fixed malformed Sphinx directives.
...
Backport of e3d1f2422c49d7f65d017b8caa35215afe18f835 from master
2015-07-25 06:39:16 -04:00
Tim Graham
2b4f1f9953
[1.8.x] Fixed #25121 -- Added a warning that filtering sensitive information from error reporting isn't bulletproof
...
Backport of 84bc4f6cddfcb5fedc7586644d66d025476255ad from master
2015-07-14 07:14:18 -04:00
Claude Paroz
805e5b88e0
[1.8.x] Fixed typo in writing migrations docs
...
Backport of 3d7a713156 from master.
2015-07-01 09:17:10 +02:00
Tim Graham
737ddb4d24
[1.8.x] Added ALLOWED_HOSTS and SERVER_EMAIL details to deployment checklist.
...
Backport of b34d16b78df3b424c3fae4f0b30b6b7a2cbf4543 from master
2015-06-11 13:44:23 -04:00
Mark Henwood
f4c09d3e42
[1.8.x] Fixed #24882 -- Documented Migration.run_before
...
Backport of dee1bcd08a013ba5ffd8d1ec9b6628702f755066 from master
2015-06-06 09:00:36 -04:00
Tim Graham
cc4ee06279
[1.8.x] Fixed #24630 -- Clarified docs about RunPython transactions.
...
Thanks Markus Holtermann for review.
Backport of 307acc745a4e655c35db96f96ceb4b87597dee49 from master
2015-05-17 18:51:40 -04:00
Afriza N. Arief
3928270495
[1.8.x] Fixed typo in docs/howto/deployment/wsgi/apache-auth.txt
...
Backport of b295fcd19c00706d7f60db73741c1311ee141409 from master
2015-04-13 07:51:08 -04:00
Tim Graham
d11e87bff5
[1.8.x] Fixed #24602 -- Removed obsolete reference to __metaclass__ in custom model fields docs.
...
Thanks schinckel for the report.
Backport of 6d7784a7b994eb8287ec851b22acb5170e77a90a from master
2015-04-08 08:36:41 -04:00
Tim Graham
4cc501205d
[1.8.x] Updated location of database backend data_types attribute in docs.
...
Backport of d9a30ed190d68a5450cba8b3cd26ef6bcd8a70ff from master
2015-03-17 20:04:30 -04:00
Ian Lee
06085024f6
[1.8.x] Added link to section in docs/howto/custom-template-tags.txt.
...
Backport of 56cd87a5aff034a7b976977a2902697cd5397b94 from master
2015-03-13 08:26:28 -04:00
Ian Lee
606e436a37
[1.8.x] Fixed typo in docs/howto/custom-template-tags.txt.
...
Backport of 7614efa2f9e169749ab109aab909fbc244fd76a9 from master
2015-03-13 08:14:30 -04:00
Ian Lee
77564c6f5a
[1.8.x] Documented how to use a non-root subdirectory with mod_wsgi.
...
Backport of 7f8588d22ea3b53ba55d05922b67e7b3a0a7c91c from master
2015-03-12 20:09:56 -04:00
Erik Romijn
d16e4e1d6f
[1.8.x] Fixed #24464 -- Made built-in HTML template filter functions escape their input by default.
...
This may cause some backwards compatibility issues, but may also
resolve security issues in third party projects that fail to heed warnings
in our documentation.
Thanks Markus Holtermann for help with tests and docs.
Backport of fa350e2f303572ee8f9a8302dda45a12288d3d95 from master
2015-03-09 09:31:07 -04:00
Tim Graham
83269b2935
[1.8.x] Fixed typo in docs/howto/custom-template-tags.txt
...
Backport of 63f2dd4ad774d39fc7bbe05492d30efc45e4e7a9 from master
2015-03-09 07:06:32 -04:00
Ross Brunton
72539a5f29
[1.8.x] Fixed #24379 -- Documented that remote user example disables ModelBackend.
...
Backport of 6b28e957df364532109a1897c73a1fa8b1416bd4 from master
2015-03-02 19:57:12 -05:00
Ian Lee
ed25758556
[1.8.x] Added syntax highlighting for apache code blocks
...
Backport of fde4857fb83101d27ae4cb3552a6a6cf20d3d8ce from master
2015-03-02 12:37:07 -05:00
Ian Lee
04c262aea9
[1.8.x] Broke long lines in code examples.
...
The website only renders code blocks at 96 chars, and therefore
long code lines get wrapped. Manually breaking the lines prevents
the wrapping from occurring.
Backport of 00fbd8fd527fd6ee0319361bf194cd51a1ac1bfb from master
2015-02-23 07:46:00 -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
Andrei Kulakov
564487601e
[1.8.x] Fixed #23932 -- Added how-to on migrating unique fields.
...
Backport of 1f9e44030e9c5300b97ef7b029f482c53a66f13b from master
2015-02-20 21:53:15 +07:00
Marc Tamlyn
3886338c1d
[1.8.x] Update converters to take a consistent set of parameters.
...
As suggested by Anssi. This has the slightly strange side effect of
passing the expression to Expression.convert_value has the expression
passed back to it, but it allows more complex patterns of expressions.
Backport of 32d4db66b9 from master
2015-02-20 11:47:48 +00:00
Aymeric Augustin
cc4effba0b
[1.8.x] Set context.template instead of context.engine while rendering.
...
This opens more possibilities, like accessing context.template.origin.
It also follows the chain of objects instead of following a shortcut.
Backport of 1bfcc95 from master
2015-02-19 22:10:56 +01:00
Aymeric Augustin
e8950668ca
[1.8.x] Deprecated TEMPLATE_DEBUG setting.
...
Backport of 15b711b from master.
2015-02-15 20:48:48 +01: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
Tim Graham
a58a120021
[1.8.x] Standardized indentation in docs/howto/custom-management-commands.txt.
2015-01-17 13:27:59 -05:00
Tim Graham
bfa3478850
[1.8.x] Replaced deprecated requires_model_validation in docs.
...
Backport of 18192b9fa4387d5e6c677a7929d91ce04f92cda7 from master
2015-01-17 12:52:30 -05:00
Carl Meyer
316b8d4974
Stripped headers containing underscores to prevent spoofing in WSGI environ.
...
This is a security fix. Disclosure following shortly.
Thanks to Jedediah Smith for the report.
2015-01-13 13:03:05 -05:00
Pavel Shpilev
a7c256cb54
Fixed #9893 -- Allowed using a field's max_length in the Storage.
2015-01-12 09:09:18 -05:00
Aymeric Augustin
4797af2bb8
Updated custom template tags how-to.
...
Accounted for multiple template engines and made a few small fixes.
2015-01-10 20:17:22 +01:00
Aymeric Augustin
ee8d5b91e9
Wrote main documentation for templates.
2015-01-10 20:16:19 +01:00
Anssi Kääriäinen
0c7633178f
Fixed #24020 -- Refactored SQL compiler to use expressions
...
Refactored compiler SELECT, GROUP BY and ORDER BY generation.
While there, also refactored select_related() implementation
(get_cached_row() and get_klass_info() are now gone!).
Made get_db_converters() method work on expressions instead of
internal_type. This allows the backend converters to target
specific expressions if need be.
Added query.context, this can be used to set per-query state.
Also changed the signature of database converters. They now accept
context as an argument.
2015-01-08 14:07:54 -05:00
Claude Paroz
f7c287fca9
Fixed #24073 -- Deactivated translations when leave_locale_alone is False
...
Thanks Tim Graham and Markus Holtermann for the reviews.
2015-01-07 20:11:24 +01:00
Daniel Pyrathon
fb48eb0581
Fixed #12663 -- Formalized the Model._meta API for retrieving fields.
...
Thanks to Russell Keith-Magee for mentoring this Google Summer of
Code 2014 project and everyone else who helped with the patch!
2015-01-06 19:25:12 -05:00
Tim Graham
d7fc6eb8ca
Revert "Updated some docs for the delayed deprecation of legacy table creation; refs #22340."
...
This reverts commit a2e3c9694823d6d451d6dd234e9d416600aacc68.
The deprecation was moved back to 1.9 in
61da5f3f02f34810aaa6fcddac3808318a5b95c4.
2014-12-30 11:50:50 -05:00
Aymeric Augustin
cf0fd65ed4
Deprecated TEMPLATE_LOADERS.
2014-12-28 17:02:30 +01:00
Aymeric Augustin
3dc01aaaaf
Deprecated ALLOWED_INCLUDE_ROOTS.
2014-12-28 17:02:30 +01:00
Christopher Grebs
508be27dbf
Fixed #24057 -- Fixed typo in docs/howto/custom-lookups.txt.
2014-12-27 19:38:24 -05:00
Claude Paroz
337cd09836
Updated some other external links in the docs
2014-12-19 18:07:52 +01:00
Claude Paroz
0a4b04fc23
Used https for most *.python.org links
2014-12-19 18:07:52 +01:00
Quentin Pradet
6bc343d874
Fixed typo in docs/howto/custom-lookups.txt.
2014-12-08 07:18:54 -05:00
Vladimir Rutsky
1a408e42ee
Add missing dot
2014-12-07 00:49:59 +03:00
Berker Peksag
560b4207b1
Removed redundant numbered parameters from str.format().
...
Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".
2014-12-03 14:27:38 -05:00
Danilo Bargen
cdee865976
Fixed #23543 -- Added docs on testing management command output.
2014-11-24 10:23:25 -05:00
Daniel Roseman
524e71c9c2
Fixed #20435 -- Reordered the custom template tags docs.
...
Introduced the various shortcuts before explaining the more complex
parser/render functionality.
Also removed non-decorator syntax: it's been years since Django
supported a Python version without decorators.
2014-11-17 17:38:04 +01:00
Josh Smeaton
f61256da3a
Renamed qn to compiler
2014-11-16 13:19:34 +01:00
Berker Peksag
5c517ec218
Fixed versionchanged indentation in docs/.
2014-11-03 21:40:26 -05:00