summaryrefslogtreecommitdiff
path: root/docs/topics
AgeCommit message (Collapse)Author
2009-03-14Made a bunch of edits to docs/topics/cache.txt, mostly based on stuff from ↵Adrian Holovaty
the Django Book git-svn-id: http://code.djangoproject.com/svn/django/trunk@10055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-11Fixed #6464 -- Added incr() and decr() operations on cache backends. Atomic ↵Russell Keith-Magee
on Memcache; implemented as a 2 stage retrieve/update on other backends. Includes refactor of the cache tests to ensure all the backends are actually tested, and a fix to the DB cache backend that was discovered as a result. Thanks to Michael Malone for the original patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-11Fixed #3460 -- Added an ability to enable true autocommit for psycopg2 backend.Malcolm Tredinnick
Ensure to read the documentation before blindly enabling this: requires some code audits first, but might well be worth it for busy sites. Thanks to nicferrier, iamseb and Richard Davies for help with this patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-09Made a couple of cross-references in the model fields documentaiton consistent.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-09Changed a few versionadded doc directives from "development" to "1.1".Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-08Fixed #10433: Corrected typo in test doc. Thanks Matt Doran.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-04Made it explicit if you accidentally override a Field from a parent model.Malcolm Tredinnick
This was always not working reliably (model initialization and serialization were two of the problems). Now, it's an explicit error. Also, documented. Fixed #10252. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-03Minor update to documentation for many-to-many filter() calls.Malcolm Tredinnick
Removed a potential ambiguity when describing how multiple conditions in one filter() call are handled. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-02Small edit to the caching docs.Malcolm Tredinnick
Turns out, super-lightning is not faster than normal lightning. :-) git-svn-id: http://code.djangoproject.com/svn/django/trunk@9949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-28Fixed #10377: Added clearer warning to database notes for cx_Oracle 5.0.James Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-27Fixed #4476 -- Added a ``follow`` option to the test client request methods. ↵Russell Keith-Magee
This implements browser-like behavior for the test client, following redirect chains when a 30X response is received. Thanks to Marc Fargas and Keith Bussell for their work on this. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-24Fixed #10344 -- Corrected some typos in the aggregation docs. Thanks to ↵Russell Keith-Magee
ewoudenberg for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-23Fixed #10182 -- Corrected realiasing and the process of evaluating values() ↵Russell Keith-Magee
for queries with aggregate clauses. This means that aggregate queries can now be used as subqueries (such as in an __in clause). Thanks to omat for the report. This involves a slight change to the interaction of annotate() and values() clauses that specify a list of columns. See the docs for details. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22Fixed #9347 -- Added an entry in the field reference for the verbose_name ↵Russell Keith-Magee
option. Thanks to marcoberi for the suggestion, and timo for the eventual patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22Fixed #10009 -- Corrected a field reference in an example on rendering ↵Russell Keith-Magee
hidden fields. Thanks to karihre@gmail.com for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22Fixed #10118 -- Clarified the error message raised when accessing a subclass ↵Russell Keith-Magee
model that doesn't exist. Thanks to peterbraden@peterbraden.co.uk for the suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22Fixed #10298 -- Corrected the example for the get_list_or_404 shortcut. ↵Russell Keith-Magee
Thanks to Dagur for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-21Fixed #10218 -- Reworded serialization.txt sentence to remove awkward ↵Adrian Holovaty
quotes. Thanks for bringing this up, thedaniel git-svn-id: http://code.djangoproject.com/svn/django/trunk@9850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-19Fixed #10303 -- Corrected a contradiction in the docs regarding the ↵Russell Keith-Magee
capabilities of the .update() clause that was introduced by the documentation for F() expressions. Thanks to gluckj for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-16Auth-related doc cleanups:Gary Wilson Jr
* Added to documentation of missing characters from `allowed_chars` in `make_random_password`. * Fixed several long lines and word wraps. * Added a reference link to the "How to log a user in" section and made a later reference to this section an actual link using the `:ref:` directive. * Turned a command line code example into a code block. * Added attribute reference link for a ``request.META`` mention. * Added `code-block:: html` directives for HTML examples. * Corrected reference links for all the `auth.views` functions. * Added a few function signatures and documentation of optional parameters that were missing for some of the the `auth.views` functions (refs #10272). git-svn-id: http://code.djangoproject.com/svn/django/trunk@9835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-15A few minor wording, whitespace, punctuation, and link changes for the ↵Gary Wilson Jr
middleware documentation. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-03Fixed #10187 -- Added documentation on how to import F() objects. Thanks to ↵Russell Keith-Magee
trigeek38 for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-29Fixed #8638 -- Added documentation on how to redirect email to a dummy ↵Russell Keith-Magee
server for testing purposes. Thanks to Rob Hudson and Marc Fargas for their work on the draft for this change. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-29Fixed #7210 -- Added F() expressions to query language. See the ↵Russell Keith-Magee
documentation for details on usage. Many thanks to: * Nicolas Lara, who worked on this feature during the 2008 Google Summer of Code. * Alex Gaynor for his help debugging and fixing a number of issues. * Malcolm Tredinnick for his invaluable review notes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-23Fixed #10052 -- Added import line for other aggregates used in examples. ↵Russell Keith-Magee
Thanks to Tyler Brownell <tyler@bluefoxstudio.ca> for the suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-16Fixed #8138 -- Changed django.test.TestCase to rollback tests (when the ↵Karen Tracey
database supports it) instead of flushing and reloading the database. This can substantially reduce the time it takes to run large test suites. This change may be slightly backwards incompatible, if existing tests need to test transactional behavior, or if they rely on invalid assumptions or a specific test case ordering. For the first case, django.test.TransactionTestCase should be used. TransactionTestCase is also a quick fix to get around test case errors revealed by the new rollback approach, but a better long-term fix is to correct the test case. See the testing doc for full details. Many thanks to: * Marc Remolt for the initial proposal and implementation. * Luke Plant for initial testing and improving the implementation. * Ramiro Morales for feedback and help with tracking down a mysterious PostgreSQL issue. * Eric Holscher for feedback regarding the effect of the change on the Ellington testsuite. * Russell Keith-Magee for guidance and feedback from beginning to end. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9756 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-16Fixed #10042 -- YAADT (Aggregation Docs Typo).Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9755 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-15Fixed #10039 -- More typos in aggregation docs. Seriously, people, now ↵Russell Keith-Magee
you're just making me look bad :-) Thanks to ElliottM, and to Erich Holscher for a separate report that I've piggybacked on this checkin. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-15Fixed #10035 -- Corrected more typos in the aggregation docs. Thanks to Ivan ↵Russell Keith-Magee
Sagalaev for his eagle eyes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9753 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-15Corrected another typo in aggregation docs. Thanks to Ivan Sagalaev for the ↵Russell Keith-Magee
report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9752 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-15Corrected typo in aggregation docs. Thanks to Ivan Sagalaev for the report.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-15Corrected a copy-and-paste typo in a heading of the aggregation docs. Thanks ↵Russell Keith-Magee
to Eivind Uggedal for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9744 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-15Fixed #3566 -- Added support for aggregation to the ORM. See the ↵Russell Keith-Magee
documentation for details on usage. Many thanks to: * Nicolas Lara, who worked on this feature during the 2008 Google Summer of Code. * Alex Gaynor for his help debugging and fixing a number of issues. * Justin Bronn for his help integrating with contrib.gis. * Karen Tracey for her help with cross-platform testing. * Ian Kelly for his help testing and fixing Oracle support. * Malcolm Tredinnick for his invaluable review notes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-11Fixed a long line, a typo, and a few misspellings from [9727].Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-10Fixed #6791: added a write-through cache session backend: session data is ↵Jacob Kaplan-Moss
written through the cache to the database, but read from the cache for speed. Thanks to jhenry, mcroydon, and jdunck. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9727 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-06Refs #9935: Added a note in the documentation to the effect that Django ↵Ian Kelly
currently requires a 4.X release of cx_Oracle. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-06Upgraded included simplejson to 2.0.7.Malcolm Tredinnick
Also changed importing logic to prefer a system-installed version of simplejson (unless it's an earlier version that does not contian the C speedups), then the json module from Python 2.6, then the version shipped with Django. Fixed #9266. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-25Added some documentation explaining (1) that it's possible to add users via ↵Adrian Holovaty
the Django admin site, and (2) that in order to be able to add users via the admin site, you need to have both 'add user' and 'change user' permissions. Refs #9866 git-svn-id: http://code.djangoproject.com/svn/django/trunk@9684 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23Fixed #9884 -- Corrected template example in model forms documentation, ↵Gary Wilson Jr
thanks bradmontgomery. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23Fixed #9896 -- Corrected a couple uses of `formset.forms`, thanks aglzen.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23Fixed #9780 -- Fixed an undefined internal link in the model forms ↵Gary Wilson Jr
documentation, thanks ramiro. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-22Fixed #9904 -- Corrected name of storage method in files documentation.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-21Fixed #9898 -- Added a missing 'e' to 'one'. Thanks gizzywump. Also ↵Karen Tracey
Americanized specialised while in the area, per contributing's guideline. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09Clarify install docs to point at new FAQ items about Python 3.0.James Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09Fixed #9783; clarified install docs and FAQ to explain that Django does not ↵James Bennett
yet work with Python 3.0. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9628 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09Did some much-needed rewriting/editing in the formsets section of ↵Adrian Holovaty
docs/topics/forms/modelsforms.txt. 'It self' is not two words. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09Improved the model formset and inline formset documentation to be more ↵Brian Rosner
explicit and handle some cases that were never addressed before. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08Fixed #9718 -- Removed a reference to oldforms FormWrapper object in the ↵Gary Wilson Jr
user authentication docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08Edited docs/topics/forms/index.txt changes from [9569] and fixed a typo in ↵Adrian Holovaty
the visible_fields() docstring git-svn-id: http://code.djangoproject.com/svn/django/trunk@9592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-05Added a way to iterate over hidden/visible fields in a form. Useful for manualMalcolm Tredinnick
form layout. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9569 bcc190cf-cafb-0310-a4f2-bffc1f526a37