summaryrefslogtreecommitdiff
path: root/docs/howto
AgeCommit message (Collapse)Author
2015-02-23[1.8.x] Broke 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. Backport of 00fbd8fd527fd6ee0319361bf194cd51a1ac1bfb from master
2015-02-22[1.8.x] Fixed #24358 -- Corrected code-block directives for console sessions.Sean Wang
Backport of eba6dff581aa8bd6a1c08456e83e68ad09ae4ec3 from master
2015-02-20[1.8.x] Fixed #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. Conflicts: django/db/utils.py Backport of bed504d70bede3431a213203c13a33905d6dbf77 from master
2015-02-20[1.8.x] Fixed #23932 -- Added how-to on migrating unique fields.Andrei Kulakov
Backport of 1f9e44030e9c5300b97ef7b029f482c53a66f13b from master
2015-02-20[1.8.x] Update 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. Backport of 32d4db66b9 from master
2015-02-19[1.8.x] Set 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. Backport of 1bfcc95 from master
2015-02-15[1.8.x] Deprecated TEMPLATE_DEBUG setting.Aymeric Augustin
Backport of 15b711b from master.
2015-02-03[1.8.x] Added a "Writing migrations" how-to.Tim Graham
Backport of 570912a97d5051fa3aeacd9d16c3be9afcf92198 from master
2015-01-17[1.8.x] Standardized indentation in docs/howto/custom-management-commands.txt.Tim Graham
2015-01-17[1.8.x] Replaced deprecated requires_model_validation in docs.Tim Graham
Backport of 18192b9fa4387d5e6c677a7929d91ce04f92cda7 from master
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
2014-10-09Fixed #23627 -- Allowed register_lookup to work as a decorator.Marc Tamlyn
2014-09-22Removed sudo from pip commands in docs.Corey Farwell
2014-09-21Fixed #23530 -- Specified PyYAML requirement in initial-data.txtClaude Paroz
Thanks aks for the report.
2014-09-19Don't recommend using sudo when installing uwsgiMatt Robenolt
2014-09-12Fixed #17101 -- Integrated django-secure and added check --deploy optionTim Graham
Thanks Carl Meyer for django-secure and for reviewing. Thanks also to Zach Borboa, Erik Romijn, Collin Anderson, and Jorge Carleitao for reviews.
2014-09-09Fixed #23350 -- Updated mod_wsgi auth example to use less memory.Tim Graham
Thanks Graham Dumpleton for the report.
2014-09-07Fixed typo in docs/howto/custom-lookups.txt.Sébastien Fievet
2014-09-06Refs #23430 -- gunicorn wants a module, not fileCollin Anderson
2014-09-05Fixed #23430 -- simplified gunicorn deployment docs.Collin Anderson
2014-09-03Fixed #18757, #14462, #21565 -- Reworked database-python type conversionsMarc Tamlyn
Complete rework of translating data values from database Deprecation of SubfieldBase, removal of resolve_columns and convert_values in favour of a more general converter based approach and public API Field.from_db_value(). Now works seamlessly with aggregation, .values() and raw queries. Thanks to akaariai in particular for extensive advice and inspiration, also to shaib, manfre and timograham for their reviews.
2014-08-28Fixed #23374 -- Renamed StaticLiveServerCase to StaticLiveServerTestCaseClaude Paroz
Refs #20739. Thanks Raphaël Hertzog for the report and the initial patch.
2014-08-26Fixed spelling mistake in file docs.Tim Graham
2014-08-20Fixed #23157 -- Removed O(n) algorithm when uploading duplicate file names.Tim Graham
This is a security fix. Disclosure following shortly.