summaryrefslogtreecommitdiff
path: root/docs/howto
AgeCommit message (Collapse)Author
2015-07-14Fixed #24716 -- Deprecated Field._get_val_from_obj()Thomas Stephenson
The method duplicates the functionality of Field.value_from_object() and has the additional downside of being a privately named public API method.
2015-07-14Fixed #25121 -- Added a warning that filtering sensitive information from ↵Tim Graham
error reporting isn't bulletproof
2015-07-13Fixed #25099 -- Cleaned up HttpRequest representations in error reporting.Vlastimil Zíma
2015-07-02Fixed #25029 -- Added PersistentRemoteUserMiddleware for login-page-only ↵Jan Pazdziora
external authentication.
2015-07-01Fixed typo in writing migrations docsClaude Paroz
2015-06-29Fixed #25018 -- Changed simple_tag to apply conditional_escape() to its output.Luke Plant
This is a security hardening fix to help prevent XSS (and incorrect HTML) for the common use case of simple_tag. Thanks to Tim Graham for the review.
2015-06-11Added ALLOWED_HOSTS and SERVER_EMAIL details to deployment checklist.Tim Graham
2015-06-06Fixed #24882 -- Documented Migration.run_beforeMark Henwood
2015-06-05Fixed #24926 -- Removed outdated information from deploymentYamila Moreno
2015-05-21Fixed #17085, #24783 -- Refactored template library registration.Preston Timmons
* Converted the ``libraries`` and ``builtins`` globals of ``django.template.base`` into properties of the Engine class. * Added a public API for explicit registration of libraries and builtins.
2015-05-17Fixed #24630 -- Clarified docs about RunPython transactions.Tim Graham
Thanks Markus Holtermann for review.
2015-05-12Fixed #24105 -- Called Storage.get_valid_name() when upload_to is callableAbhaya Agarwal
2015-04-13Fixed typo in docs/howto/deployment/wsgi/apache-auth.txtAfriza N. Arief
2015-04-08Fixed #24602 -- Removed obsolete reference to __metaclass__ in custom model ↵Tim Graham
fields docs. Thanks schinckel for the report.
2015-03-17Updated location of database backend data_types attribute in docs.Tim Graham
2015-03-13Added link to section in docs/howto/custom-template-tags.txt.Ian Lee
2015-03-13Fixed typo in docs/howto/custom-template-tags.txt.Ian Lee
2015-03-12Documented how to use a non-root subdirectory with mod_wsgi.Ian Lee
2015-03-09Fixed #24464 -- Made built-in HTML template filter functions escape their ↵Erik Romijn
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.
2015-03-09Fixed typo in docs/howto/custom-template-tags.txtTim Graham
2015-03-02Fixed #24379 -- Documented that remote user example disables ModelBackend.Ross Brunton
2015-03-02Added syntax highlighting for apache code blocksIan Lee
2015-02-23Broke long lines in code examples.Ian Lee
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.
2015-02-22Fixed #24358 -- Corrected code-block directives for console sessions.Sean Wang
2015-02-20Fixed #24351, #24346 -- Changed the signature of allow_migrate().Loic Bistuer
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.
2015-02-20Update converters to take a consistent set of parameters.Marc Tamlyn
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.
2015-02-19Set context.template instead of context.engine while rendering.Aymeric Augustin
This opens more possibilities, like accessing context.template.origin. It also follows the chain of objects instead of following a shortcut.
2015-02-15Deprecated TEMPLATE_DEBUG setting.Aymeric Augustin
2015-02-05Fixed #23932 -- Added how-to on migrating unique fields.Andrei Kulakov
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2015-02-03Added a "Writing migrations" how-to.Tim Graham
2015-02-03Fixed #18651 -- Enabled optional assignments for simple_tag().Preston Timmons
2015-02-01Removed versionadded/changed notes for 1.7.Tim Graham
2015-01-18Removed BaseCommand.validate() per deprecation timeline; refs #16905.Tim Graham
2015-01-17Standardized indentation in docs/howto/custom-management-commands.txt.Tim Graham
2015-01-17Removed BaseCommand.requires_model_validation per deprecation timeline.Tim Graham
2015-01-17Replaced deprecated requires_model_validation in docs.Tim Graham
2015-01-17Removed support for AppCommand.handle_app() per deprecation timeline.Tim Graham
2015-01-17Removed support for custom SQL per deprecation timeline.Tim Graham
2015-01-17Removed support for initial_data fixtures per deprecation timeline.Tim Graham
2015-01-17Removed FastCGI support per deprecation timeline; refs #20766.Tim Graham
2015-01-13Stripped headers containing underscores to prevent spoofing in WSGI environ.Carl Meyer
This is a security fix. Disclosure following shortly. Thanks to Jedediah Smith for the report.
2015-01-12Fixed #9893 -- Allowed using a field's max_length in the Storage.Pavel Shpilev
2015-01-10Updated custom template tags how-to.Aymeric Augustin
Accounted for multiple template engines and made a few small fixes.
2015-01-10Wrote main documentation for templates.Aymeric Augustin
2015-01-08Fixed #24020 -- Refactored SQL compiler to use expressionsAnssi Kääriäinen
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-07Fixed #24073 -- Deactivated translations when leave_locale_alone is FalseClaude Paroz
Thanks Tim Graham and Markus Holtermann for the reviews.
2015-01-06Fixed #12663 -- Formalized the Model._meta API for retrieving fields.Daniel Pyrathon
Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch!
2014-12-30Revert "Updated some docs for the delayed deprecation of legacy table ↵Tim Graham
creation; refs #22340." This reverts commit a2e3c9694823d6d451d6dd234e9d416600aacc68. The deprecation was moved back to 1.9 in 61da5f3f02f34810aaa6fcddac3808318a5b95c4.
2014-12-28Deprecated TEMPLATE_LOADERS.Aymeric Augustin