summaryrefslogtreecommitdiff
path: root/docs/topics
AgeCommit message (Collapse)Author
2013-10-25Fixed #21325 -- Added missing argument to permission_required decorator.Tim Graham
2013-10-24Fixed doc typo in previous commit.Tim Graham
2013-10-24Fixed #21271 -- Added timeout parameter to SMTP EmailBackend.SusanTan
Thanks Tobias McNulty and Tim Graham for discussions and code review. Thanks Andre Cruz the suggestion and initial patch.
2013-10-23Fixed #20945 -- Allowed cache tag to use a specific cache.Curtis Maloney
2013-10-22Fixed #21304 -- Typo in docs/topics/testing/advanced.txtTim Graham
Thanks joao at silvaneves.org for the report.
2013-10-22Fixed #17027 -- Added support for the power operator in F expressions.Florian Hahn
Thanks dan at dlo.me for the initial patch. - Added __pow__ and __rpow__ to ExpressionNode - Added oracle and mysql specific power expressions - Added used-defined power function for sqlite
2013-10-22Fixed #5789 -- Changed LocaleMiddleware session variable to '_language'.Bouke Haarsma
The old 'django_language' variable will still be read from in order to migrate users. The backwards-compatability shim will be removed in Django 1.8. Thanks to jdunck for the report and stugots for the initial patch.
2013-10-21Added docs for the hasher's iteration count changes.Tim Graham
2013-10-18Added a warning regarding session security and subdomains.Tim Graham
2013-10-15Improvement on InlineFormSet doc, refs #21006Tianyi Wang
2013-10-15Fixed #21006 -- Added example code for overriding methods on an InlineFormSet.Tianyi Wang
Thanks treysta at gmail.com for the suggestion.
2013-10-15Merge pull request #1382 from loic/ticket19617Marc Tamlyn
Fixed #19617 -- Refactored form metaclasses to support more inheritance scenarios.
2013-10-14Fixed #21223 -- Added form.id_for_label to topic guide.Sorcha Bowler
Thanks ebertti at yahoo.com.br for the suggestion.
2013-10-14Fixed #8620 -- Updated the Form metaclass to support excluding fields by ↵Loic Bistuer
shadowing them.
2013-10-14Fixed #19617 -- Refactored Form metaclasses to support more inheritance ↵Loic Bistuer
scenarios. Thanks apollo13, funkybob and mjtamlyn for the reviews.
2013-10-14Clarfied the ModelForm docs with respect to generated vs. declared fields.Loic Bistuer
The ModelForm docs suggested that fields defined declaratively override default fields generated from the form Meta. This is conceptually wrong, especially with inheritance in mind. Meta is usually defined on the topmost ModelForm subclass, while fields can come from anywhere in the MRO, especially base classes; therefore we suggested that something defined in a base class override something from a subclass. This patch rephrases the docs around the idea that Meta is used to generate *missing* fields. Refs #8620, #19617. Thanks @mjtamlyn and @timgraham for the review.
2013-10-14Fixed #21264 -- Incorrect RST usage in docsBouke Haarsma
2013-10-14Fixed #15888 -- Made tablename argument of createcachetable optionalClaude Paroz
Thanks Aymeric Augustin for the report and the documentation and Tim Graham for the review.
2013-10-13Fixed #19560 -- Identified field in warning for naive datetime.Aymeric Augustin
Thanks gcc for the report and vajrasky for the patch.
2013-10-11Fixed #15582 -- Documented how TransactionTestCase.multi_db affects fixtures.Tim Graham
Thanks slinkp for the suggestion.
2013-10-11Minor edits to docs/topics/db/queries.txt.Cody Scott
2013-10-11Fixed #13252 -- Added ability to serialize with natural primary keys.Tai Lee
Added ``--natural-foreign`` and ``--natural-primary`` options and deprecated the ``--natural`` option to the ``dumpdata`` management command. Added ``use_natural_foreign_keys`` and ``use_natural_primary_keys`` arguments and deprecated the ``use_natural_keys`` argument to ``django.core.serializers.Serializer.serialize()``. Thanks SmileyChris for the suggestion.
2013-10-10Small improvements to docs/topics/db/models.txtCody Scott
2013-10-10Whitespace cleanup.Tim Graham
* Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
2013-10-09Fixed grammar/typos in auth customization docsClaude Paroz
2013-10-08Fix grammatical errors in email documentationDan Loewenherz
2013-10-08Fixed #21164 -- Added documentation for issue with test users.Russell Keith-Magee
The package renaming restores the older package names (which were also the documented package names). This doesn't affect test discovery because the module in question doesn't contain any tests. Thanks to Carl for the design discussion.
2013-10-07Re-added link to SQLite notes from DB section of install doc.Ramiro Morales
2013-10-02Fixed #10913 -- Documented how related_name affects QuerySet filteringTim Graham
Thanks neithere for the suggestion.
2013-10-02Changed the doc to use gender-neutral pronouns when possible.Baptiste Mispelon
2013-10-02Clarified session replay attack differences with cookie backend.Tim Graham
2013-09-30Fixed #21134 -- Prevented queries in broken transactions.Aymeric Augustin
Squashed commit of the following: commit 63ddb271a44df389b2c302e421fc17b7f0529755 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Sep 29 22:51:00 2013 +0200 Clarified interactions between atomic and exceptions. commit 2899ec299228217c876ba3aa4024e523a41c8504 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Sep 22 22:45:32 2013 +0200 Fixed TransactionManagementError in tests. Previous commit introduced an additional check to prevent running queries in transactions that will be rolled back, which triggered a few failures in the tests. In practice using transaction.atomic instead of the low-level savepoint APIs was enough to fix the problems. commit 4a639b059ea80aeb78f7f160a7d4b9f609b9c238 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Tue Sep 24 22:24:17 2013 +0200 Allowed nesting constraint_checks_disabled inside atomic. Since MySQL handles transactions loosely, this isn't a problem. commit 2a4ab1cb6e83391ff7e25d08479e230ca564bfef Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sat Sep 21 18:43:12 2013 +0200 Prevented running queries in transactions that will be rolled back. This avoids a counter-intuitive behavior in an edge case on databases with non-atomic transaction semantics. It prevents using savepoint_rollback() inside an atomic block without calling set_rollback(False) first, which is backwards-incompatible in tests. Refs #21134. commit 8e3db393853c7ac64a445b66e57f3620a3fde7b0 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Sep 22 22:14:17 2013 +0200 Replaced manual savepoints by atomic blocks. This ensures the rollback flag is handled consistently in internal APIs.
2013-09-25Fixed #17671 - Cursors are now context managers.Michael Manfre
2013-09-25Fixed #3871 -- Custom managers when traversing reverse relations.Loic Bistuer
2013-09-24Fixed #21137 -- Corrected ULRconf include example.Tim Graham
Thanks marfire for the report.
2013-09-23Removed implication that six is part of Python stdlib.Tim Graham
2013-09-23Fixed #20830 -- Clarified that Django uses a customized version of six.Daley Chetwynd
Thanks glarrain for the suggestion.
2013-09-23Fixed #21140 -- Added 'Using cached sessions' to the performance guide.Åke Forslund
Thanks EvilDMP for the suggestion.
2013-09-22A few doc additions for changes from d228c1192e.Ramiro Morales
2013-09-22Reference Meta.index_together in DB performance guide.Ramiro Morales
2013-09-21Fixed #21137 -- Documented best practice for URLconfs with repeated pattern ↵Michael DiBernardo
prefixes.
2013-09-21Addressed inaccuracies in performance docsAymeric Augustin
* Move the discussion of CachedStaticFilesStorage to the section about HTTP. It's really about client-side caching. It doesn't fit with the caching utilities from django.utils.functional. * Tone down the warning against Pypy as per Alex' feedback. It's a valid choice for advanced users who are comfortable using a non-standard stack. * Generally reworded the 'Using different versions of available software' section. * Some other minor adjustments to the document.
2013-09-20Fixed #20877 -- added a performance optimization guideevildmp
2013-09-20Clarified why one must not catch database errors inside atomic.Aymeric Augustin
2013-09-19Added missing "in" in sentence.Markus Amalthea Magnuson
2013-09-19Fixed #9532 -- Added min_num and validate_min on formsets.yokomizor
Thanks gsf for the suggestion.
2013-09-18Fixed #21116 -- Made usage of manage.py in docs more consistent.Tim Graham
Thanks daniel.quattro at gmail.com for the report.
2013-09-18Fixed #4278 -- Added a dirs parameter to a few functions to override ↵Berker Peksag
TEMPLATE_DIRS. * django.template.loader.get_template() * django.template.loader.select_template() * django.shortcuts.render() * django.shortcuts.render_to_response() Thanks amcnabb for the suggestion.
2013-09-16Reworded a paragraph in the logging docs.Ramiro Morales
2013-09-16Fixed #17627 -- Renamed util.py files to utils.pyTim Graham
Thanks PaulM for the suggestion and Luke Granger-Brown and Wiktor Kołodziej for the initial patch.