summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-25Fixed #17448 -- Improved test and documented raw-sql gis queryClaude Paroz
2012-08-25Updated doc for settings.MEDIA_ROOT based on what's generated by ↵Tim Graham
settings.py; thanks ryan-blunden.
2012-08-25Fixed #18804 - Reorganized class based views docs a bit; thanks anthonyb for ↵Tim Graham
the initial patch.
2012-08-25Fixed #16715 -- Fixed join promotion logic for nested nullable FKsAnssi Kääriäinen
The joins for nested nullable foreign keys were often created as INNER when they should have been OUTER joins. The reason was that only the first join in the chain was promoted correctly. There were also issues with select_related etc. The basic structure for this problem was: A -[nullable]-> B -[nonnull]-> C And the basic problem was that the A->B join was correctly LOUTER, the B->C join not. The major change taken in this patch is that now if we promote a join A->B, we will automatically promote joins B->X for all X in the query. Also, we now make sure there aren't ever join chains like: a LOUTER b INNER c If the a -> b needs to be LOUTER, then the INNER at the end of the chain will cancel the LOUTER join and we have a broken query. Sebastian reported this problem and did also major portions of the patch.
2012-08-25Added a GeoDjango test with a raw query (Refs #17448)Claude Paroz
Thanks David Eklund for the initial patch.
2012-08-24Cleaned up the implementation of in_bulkAlex Gaynor
2012-08-24Fixed #18847 - Updated for media examples to use static.example.com. Thanks ↵Tim Graham
Jamie Curle.
2012-08-24Merge pull request #301 from carlospalol/quickfix/blog-post-typoKaren Tracey
Fixed typo in docs
2012-08-23Modified docs about SpatiaLite version that doesn't need manual initial SQL ↵Ramiro Morales
file loading as per 675431dfaaa.
2012-08-23Fixed #18843 -- Replaced more special chars in column names (inspectdb)Claude Paroz
Thanks airstrike for the report.
2012-08-23Fixed #12460 -- Improved inspectdb handling of special field namesClaude Paroz
Thanks mihail lukin for the report and elijahr and kgibula for their work on the patch.
2012-08-23Fixed typo in docsCarlos Palol
2012-08-23Fixed #18798 -- Renamed conflicting test methods in i18n testsAlexey Boriskin
2012-08-23Fixed #18678 -- HttpResponse init arguments allowed for subclassesClaude Paroz
Thanks hp1337@gmail.com for the report.
2012-08-23Reordered importsAymeric Augustin
to avoid an error introduced in 5301a9d7b1.
2012-08-23[py3] Removed duplicate imports.Aymeric Augustin
Fixed #18837. Refs #18791.
2012-08-22Merge pull request #297 from mjjohnson/ticket_17069Tim Graham
Fixed #17069 -- Added log filter example to docs.
2012-08-22Fixed #11340 -- Prevented HttpResponseNotModified to have content/content-typeClaude Paroz
The HTTP 1.1 spec tells that the 304 response MUST NOT contain a message body. Thanks aparajita for the report.
2012-08-22Used the decorator syntax for properties in django.httpClaude Paroz
2012-08-22Revert "Fixed #18063 -- Avoid unicode in Model.__repr__ in python 2"Simon Meers
This reverts commit 3fce0d2a9162cf6e749a6de0b18890dea8955e89.
2012-08-21Fixed #18637 - Updated some documentation for aspects of models that are ↵Tim Graham
ModelForm specific, not admin specific. Thanks Ben Sturmfels for the patch.
2012-08-21Fixed #14885 - Clarified that ModelForm cleaning may not fully complete if ↵Tim Graham
the form is invalid. Thanks Ben Sturmfels for the patch.
2012-08-21Fixed #18196 -- Improved loaddata error messages.Claude Paroz
2012-08-21Fixed #17886 -- Fixed join promotion in ORed nullable queriesAnssi Kääriäinen
The ORM generated a query with INNER JOIN instead of LEFT OUTER JOIN in a somewhat complicated case. The main issue was that there was a chain of nullable FK -> non-nullble FK, and the join promotion logic didn't see the need to promote the non-nullable FK even if the previous nullable FK was already promoted to LOUTER JOIN. This resulted in a query like a LOUTER b INNER c, which incorrectly prunes results.
2012-08-21Fixed #17069 -- Added log filter example to docs.Michael Johnson
Added an example of filtering admin error emails (to exclude UnreadablePostErrors) to the docs.
2012-08-21Merge walk and find_files in makemessages commandClaude Paroz
2012-08-21Removed obsolete __members__ definitionsClaude Paroz
This was useful for pre-Python 2.6 support. See commit c6e8e5d9.
2012-08-21Reverted type check added in 62954ba04c.Aymeric Augustin
Refs #17040.
2012-08-20Fixed #18819 -- fixed some typos in the auth docsAlex Gaynor
2012-08-20[py3] Fixed #17040 -- ported django.utils.crypto.constant_time_compare.Aymeric Augustin
This is a private API; adding a type check is acceptable.
2012-08-20[py3] Fixed #18805 -- ported createsuperuser.Aymeric Augustin
Thanks sunsesh at gmail.com for the report.
2012-08-20Fixed #18023 -- Documented simplejson issues.Aymeric Augustin
Thanks Luke Plant for reporting the issue and Alex Ogier for thoroughly investigating it.
2012-08-20Made an example more readable in the URLs docs.Aymeric Augustin
2012-08-20Added links in URLs doc for consistency.Aymeric Augustin
2012-08-20[py3] Prepared MySQL backend for Python 3 compatibilityClaude Paroz
2012-08-20Fixed #18063 -- Avoid unicode in Model.__repr__ in python 2Simon Meers
Thanks guettli and mrmachine.
2012-08-20Fixed #18799 -- Improved index links for CBV documentation.Simon Meers
Thanks anthonyb.
2012-08-19Tweaked SpatiaLite GeoDjango docs.Ramiro Morales
2012-08-19Fixed typo in form wizard docs.Tim Graham
2012-08-19Fixed #17180 - Emphasized the need to load the i18n template tag in each ↵Tim Graham
template that uses translations. Thanks stefan.freyr for the suggestion and buddylindsey for the draft patch.
2012-08-19[py3] Fixed Oracle specific failuresAnssi Kääriäinen
2012-08-19Reordered import statements for clarity.Aymeric Augustin
2012-08-19Fixed #18728 -- Made colon optional in tzinfoAymeric Augustin
Made two-digit hours and minutes mandatory in tzinfo (the code used to crash if a one-digit representation was provided). Added standalone tests for django.utils.dateparse.
2012-08-19Removed an inaccurate statementAymeric Augustin
in docstrings of dateparse functions.
2012-08-19Clarified a sentence in the Python 3 docs.Aymeric Augustin
Thanks dstufft for the report.
2012-08-19Merge pull request #293 from mjtamlyn/patch-1Aymeric Augustin
Fixed indentation in the Python3 docs
2012-08-19Fixed indentation in the Python3 docsMarc Tamlyn
2012-08-19[py3] Fixed another regression from 2892cb0ec4.Aymeric Augustin
2012-08-19[py3] Fixed regression introduced in 536b030363.Aymeric Augustin
Refs #18764. Reverted 536b030363 and switched to a more explicit way of avoiding calling bytes(<int>). This definitely deserves a refactoring. Specifically, _get_content should just return b''.join(self). Unfortunately that's impossible with the current tests.
2012-08-19[py3] Supported integers in HttpResponseAymeric Augustin
Fixed #18764.