Commit Graph

436 Commits

Author SHA1 Message Date
Tim Graham 9be9c511cc [1.8.x] Fixed #25515 -- Documented the return value of BaseCommand.handle()
Backport of 3f766d44c5 from master
2015-10-06 15:09:58 -04:00
Henry Jordan 5add28dad0 [1.8.x] Fixed #25447 -- Emphasized the need to restart dev server when adding template tags.
Backport of af95eee9fb from master
2015-09-22 19:43:25 -04:00
Tim Graham d0d2567120 [1.8.x] Reverted "Fixed #25203 -- Documented how to pass Apache environment variables to Django."
As discussed on the ticket, this isn't a pattern we should recommend.

This reverts commit c8773493b6.
2015-09-14 14:15:20 -04:00
Paul Rentschler c8773493b6 [1.8.x] Fixed #25203 -- Documented how to pass Apache environment variables to Django.
Backport of 47016d4322 from master
2015-09-11 13:24:37 -04:00
Maxime Lorant 7dabaa8ee3 [1.8.x] Refs #25345 -- Updated links to code.google.com.
Backport of c92cd22d02 from master
2015-09-04 08:18:22 -04:00
David Gibbons 64410a09da [1.8.x] Updated static files howto title to include JavaScript.
Backport of 526a413870 from master
2015-09-04 08:08:22 -04:00
Claude Paroz 90c7078f48 [1.8.x] Removed unnecessary comma in docs
Backport of f2e4c7aca4 from master
2015-08-10 10:20:51 -04:00
Claude Paroz cda66497aa [1.8.x] Updated Wikipedia links to use https
Backport of 64982cc2fb from master.
2015-08-08 12:09:53 +02:00
Caio Ariede 5bdf0eafb1 [1.8.x] Fixed #25207 -- Misspelled word in documentation: dialogue
Backport of 98eb91171d 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 514fee82a1 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 e176de2512 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 ae32f32498 from master
2015-07-28 09:45:55 -04:00
Tim Graham 65885f265a [1.8.x] Fixed malformed Sphinx directives.
Backport of e3d1f2422c 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 84bc4f6cdd 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 b34d16b78d from master
2015-06-11 13:44:23 -04:00
Mark Henwood f4c09d3e42 [1.8.x] Fixed #24882 -- Documented Migration.run_before
Backport of dee1bcd08a 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 307acc745a 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 b295fcd19c 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 6d7784a7b9 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 d9a30ed190 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 56cd87a5af 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 7614efa2f9 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 7f8588d22e 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 fa350e2f30 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 63f2dd4ad7 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 6b28e957df 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 fde4857fb8 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 00fbd8fd52 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 eba6dff581 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 bed504d70b 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 1f9e44030e 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 570912a97d 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 18192b9fa4 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 a2e3c96948.

The deprecation was moved back to 1.9 in
61da5f3f02.
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