summaryrefslogtreecommitdiff
path: root/docs/topics
AgeCommit message (Collapse)Author
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.
2013-09-11Fixed #20887 -- Added a warning to GzipMiddleware in light of BREACH.Tim Graham
Thanks EvilDMP for the report and Russell Keith-Magee for the draft text.
2013-09-11Documentation -- Improved description of cache argumentsKevin Christopher Henry
- Fixed some grammar and formatting mistakes - Added the type and default for CULL_FREQUENCY - Made the note on culling the entire cache more precise. (It's actually slower on the filesystem backend.)
2013-09-10Fixed #20919 -- Extended assertRedirects to be able to avoid fetching ↵Juan Catalano
redirect's response. Thanks mjtamlyn for the suggestion.
2013-09-10Fixed #16534 -- Improved ability to customize DiscoverRunnerTim Graham
Added DiscoverRunner.test_suite and .test_runner attributes. Thanks tomchristie for the suggestion and jcd for the patch.
2013-09-09Fixed #19885 -- cleaned up the django.test namespaceKevin Christopher Henry
* override_settings may now be imported from django.test * removed Approximate from django.test * updated documentation for things importable from django.test Thanks akaariai for the suggestion.
2013-09-09Fixed #16895 -- Warned about cost of QuerySet orderinge0ne
Thanks outofculture at gmail.com for the suggestion.
2013-09-07Fixed #21068 -- Added some docs for DiscoverRunnerTim Graham
Thanks jcd.
2013-09-06Fixed a link in topics/testing/overview.txtTim Graham
2013-09-06Fixed #20646 -- Clarified the use of AbstractBaseUser.REQUIRED_FIELDSTim Graham
Thanks craigbruce.
2013-09-06Consolidated documentation for F() and Q()evildmp
2013-09-05Fixed #21035 -- Changed docs to treat the acronym SQL phonetically.Eric Boersma
The documentation and comments now all use 'an' to refer to the word SQL and not 'a'.
2013-09-05Took advantage of django.utils.six.moves.urllib.*.Aymeric Augustin
2013-09-05Fixed #21000 -- Made cached_db session backend respect SESSION_CACHE_ALIASCHI Cheng
2013-09-05Removed "makemigrations --force" from docs since it doesn't actually exist.Loic Bistuer
2013-09-03Fixed #21002 -- Documented JSON session serialization requires string keysTim Graham
Thanks jeroen.pulles at redslider.net for the report.
2013-09-02Replaced "not PY3" by "PY2", new in six 1.4.0.Aymeric Augustin
2013-08-31Made django.test.testcases not depend on staticfiles contrib app.Ramiro Morales
Do this by introducing a django.contrib.staticfiles.testing.StaticLiveServerCase unittest TestCase subclass. Fixes #20739.
2013-08-31Made the doc about translating string literals in templates more prominent.Loic Bistuer
2013-08-29Fixed #20997 -- Added SessionStore note to docs.Tim Graham
Thanks jsdalton.