summaryrefslogtreecommitdiff
path: root/docs/topics/db
AgeCommit message (Collapse)Author
2011-03-22Corrected a number of mislinked crossrefs and added a few new crossref ↵Gabriel Hurley
targets found in/via the 1.3 release. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-14Fixed #14733: no longer "validate" .raw() queries.Jacob Kaplan-Moss
Turns out that a lot more than just SELECT can return data, and this list is very hard to define up front in a cross-database manner. So let's just assume that anyone using raw() is at least halfway competant and can deal with the error messages if they don't use a data-returning query. Thanks to Christophe Pettus for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-04Fixed #11864 -- Improved the "see also" section of the many-to-one model ↵Gabriel Hurley
topic guide to more clearly connect people to the backwards-related objects docs and to the correct point in the model tests for sample code (since the doctests went away). Thanks to dwillis for the work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03Made small improvement to docs/topics/db/queries.txt -- added import ↵Adrian Holovaty
statement to 'Complex lookups with Q objects' for easier scanning git-svn-id: http://code.djangoproject.com/svn/django/trunk@15737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03Added crossref targets for a couple of Django exceptions and cleaned up ↵Gabriel Hurley
related reST markup. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03Corrected some typos from r14673.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12Fixed #9964 -- Ensure that all database operations make transactions dirty, ↵Russell Keith-Magee
not just write operations. Many thanks to Shai Berger for his work and persistence on this issue. This is BACKWARDS INCOMPATIBLE for anyone relying on the current behavior that allows manually managed read-only transactions to be left dangling without a manual commit or rollback. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15493 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-11Fixed #15243 -- More clearly document that the transaction functions needs ↵Alex Gaynor
to be called with a using parameter to work with a non-default database. Thanks to Jason Kotenko for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-02Fixed #7325 -- Broken links for model documentation; thanks Justin Lilly.Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-16Fixed #15062 -- Documented the fact that managers must be able to be shallow ↵Russell Keith-Magee
copied. Thanks to Ian Clelland for the report, and Łukasz Rekucki for the help diagnosing the problem. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-03Fixed #15002 - Fix title casing to conform to style guidelines. thanks adamv.Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-31Some small fixes to DB optimization docs.Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-31Fixed #14997 - A typo in "Overriding delete". thanks phunehehe for the report.Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27Fixed #12313 - Add a note that QuerySet.delete() doesn't necessarily call ↵Timo Graham
obj.delete(). thanks FunkyELF for the suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26Fixed #14000 - remove versionadded/changed tags for Django 1.0 and 1.1Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-22Fixed #10154: Allow combining F expressions with timedelta values.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Fixes #7817 and #9456.Chris Beaven
- The include tag now has a 'with' option to include to provide extra context vairables to the included template. - The include tag now has an 'only' option to exclude the current context when rendering the included template. - The with tag now accepts multiple variable assignments. - The with, include and blocktrans tags now use a new keyword argument format for variable assignments (e.g. `{% with foo=1 bar=2 %}`). git-svn-id: http://code.djangoproject.com/svn/django/trunk@14922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-16Fixed it's -> its in multi-db.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-14Fixed #14848 - change example verbose name to match convention. thanks ↵Timo Graham
madisv for the suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-05Fixed #14841 -- added xrefs to topics/db/models. Thanks adamv.Simon Meers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04Fixed #14120 - Document get() in Making Queries - thanks danielr and adamv ↵Timo Graham
for work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-24Fixed #14767 -- Reflowed paragraphs and cleaned up some markup/links in the ↵Gabriel Hurley
topics/db/optimizations docs. Thanks to adamv for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-21Fixed #11108 -- added ModelAdmin.delete_model, a hook with which to perform ↵Alex Gaynor
custom pre-post delete behavior. Thanks to Florian Apolloner for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-20Fixed #14727 -- Corrected three minor issues in the docs. Thanks to OldTroll ↵Gabriel Hurley
for the report and the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-09Fixed #7539, #13067 -- Added on_delete argument to ForeignKey to control ↵Carl Meyer
cascade behavior. Also refactored deletion for efficiency and code clarity. Many thanks to Johannes Dollinger and Michael Glassford for extensive work on the patch, and to Alex Gaynor, Russell Keith-Magee, and Jacob Kaplan-Moss for review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-09Fixed typo in raw SQL docs example.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06Fixed #14624 -- Updated a few outdated references to CacheMiddleware in the ↵Gabriel Hurley
transactions topic guide. Thanks to quinode for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06Fixed #14629 -- corrected a misspelling and poor wording in the docs. ↵Alex Gaynor
Thanks to OldTroll for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28Fixed #14578 -- Corrected a typo in the Models topic docs. Thanks to tobych ↵Gabriel Hurley
for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-22Fixed #14534 -- updated an out of date link in the docs. Thanks to d0ugal ↵Alex Gaynor
for the report and Frank Wiles for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-19Fixed #10771 -- added support for using the transaction management functions ↵Alex Gaynor
as context managers in Python 2.5 and above. Thanks to Jacob for help with the docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-19Fixed #14426 -- Removed "mysite" import statements from examples that might ↵Gabriel Hurley
teach people "bad habits" in regards to creating reusable apps. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Fixes #13538 -- Clarified query examples with more explicit import ↵Gabriel Hurley
statements and model vs. instance differentiation. Thanks to yipengh87@gmail.com and kmtracey for the report, and timo for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Fixed #11509 -- Modified usage of "Web" to match our style guide in various ↵Russell Keith-Magee
documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13The optimization docs were a little too enthusiastic in recommendingMalcolm Tredinnick
defer() and only() usage. Disk access patterns affect when this is a good idea, so this patch adds a note about the trade-offs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12Add intro-user-level documentation about calling model methods from views.Malcolm Tredinnick
Patch from timo and shacker. Fixed #10903. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-30Fixed #13759 - Multi-db docs have an example that isn't syntax highlightingLuke Plant
Thanks to Tim Hatch for report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-19Fixed #14141: docs now use the :doc: construct for links between documents.Jacob Kaplan-Moss
Thanks, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-07Fixed #11800 -- Updated Sphinx metadata in queryset docs. Thanks to timo for ↵Russell Keith-Magee
the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-07Fixed #13718 -- Corrected typo in model docs. Thanks to gvkalra for the report.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-04Fixed #13746: made the dumdata help message a bit clearer. Thanks, PaulM.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-05Small corrections/improvements to DB optimization docs.Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13419 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-14Fixed #13532 -- Corrected and clarified examples in F() docs. Thanks to erw ↵Russell Keith-Magee
for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10Fixed #12678 -- Corrected a few references to Queryset into QuerySet. Thanks ↵Russell Keith-Magee
to ChrisMorgan for the report, and timo for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09Fixed #13316 -- Added clarifying note about cross-database relations.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-08Fixed #13428 -- Corrected the allow_relation behavior of and example router. ↵Russell Keith-Magee
Thanks to jcd for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-06Fixed #13035 - Incorrect documentation regarding admin and default managersLuke Plant
Thanks to rasca for report and gabrielhurley for patch git-svn-id: http://code.djangoproject.com/svn/django/trunk@12930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-06Fixed #13268 - 'ForeignKeyField' in topics/db/queries.txtLuke Plant
Thanks piquadrat for report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12928 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-05Fixed #13263 -- Corrected field name typo in queries documentation examples. ↵Justin Bronn
Thanks, RicherPots for bug report and gabrielhurley for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12926 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-26Fixed #12930, #12832, #11538 -- Refactored and merged the GeoDjango ↵Justin Bronn
documentation into the rest of the Django docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12856 bcc190cf-cafb-0310-a4f2-bffc1f526a37