summaryrefslogtreecommitdiff
path: root/docs/howto
AgeCommit message (Collapse)Author
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
2014-12-28Deprecated ALLOWED_INCLUDE_ROOTS.Aymeric Augustin
2014-12-27Fixed #24057 -- Fixed typo in docs/howto/custom-lookups.txt.Christopher Grebs
2014-12-19Updated some other external links in the docsClaude Paroz
2014-12-19Used https for most *.python.org linksClaude Paroz
2014-12-08Fixed typo in docs/howto/custom-lookups.txt.Quentin Pradet
2014-12-07Add missing dotVladimir Rutsky
2014-12-03Removed redundant numbered parameters from str.format().Berker Peksag
Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".
2014-11-24Fixed #23543 -- Added docs on testing management command output.Danilo Bargen
2014-11-17Fixed #20435 -- Reordered the custom template tags docs.Daniel Roseman
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-16Renamed qn to compilerJosh Smeaton
2014-11-03Fixed versionchanged indentation in docs/.Berker Peksag
2014-11-03Clarified custom lookups output_field documentationAndy Chosak
2014-11-03Fixed #23376 -- Made documentation about required Storage methodsJames Brewer
consistent. The following methods **should** be implemented, but are not required: * Storage.delete() * Storage.exists() * Storage.listdir() * Storage.size() * Storage.url() Updated documentation to reflect this fact and give a couple of examples where some methods may not be implemented. Add a warning that not implementing some methods will result in a partial (possibly broken) interface. Ticket: https://code.djangoproject.com/ticket/23376
2014-10-30Converted seealso directives to use 4 space indendation.Berker Peksag
2014-10-28Fixed #23493 -- Added bilateral attribute to TransformThomas Chaumeny
2014-10-27Fixed #23708 -- Corrected mod_wsgi docs reference to nonexistent comment in ↵Tim Graham
wsgi.py. Thanks inglesp for the report.
2014-10-23Fixed #23705 -- Removed unnecessary AliasMatch from example Apache config.Tim Graham
Thanks Keryn Knight for the report.
2014-10-15Fixed #23637 -- Removed TUX, lighttpd, and Cherokee as common.Collin Anderson