summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-25Fixed #19541 -- Fixed BaseHandler to enable reversing URLs in response ↵Loic Bistuer
middlewares and streamed responses with respect to per-request urlconf.
2013-03-24Fixed field.rel.field_name handlingAnssi Kääriäinen
This is a regression fix to multicolumn joins. Refs #19385.
2013-03-24Merge pull request #951 from yohanboniface/set_signed_cookieTim Graham
Fixed signature of HttpResponse.set_signed_cookie in docs.
2013-03-24Fixed #20124 - Fixed doc warnings.Tim Graham
2013-03-24Goodbye, Malcolm.Aymeric Augustin
2013-03-24Python 2.6 compatibility for #19385Anssi Kääriäinen
2013-03-24Fixed #19385 again, now with real code changesAnssi Kääriäinen
The commit of 266de5f9ae9e9f2fbfaec3b7e4b5fb9941967801 included only tests, this time also code changes included...
2013-03-24Doc: "value" is arg not kwarg in HttpResponse.set_signed_cookieYohan Boniface
2013-03-24Fixed 19385 -- Added ORM support for multicolumn joinsAnssi Kääriäinen
This patch iproved two major parts in Django. First, the fields.related was refactored. The main addition there was ForeignObject. Second, the ORM now handles multicolumn joins in most cases, though there are still cases that do not work correcly (split_exclude() for example). In addition there were extesive changes to how GenericRelation works. Before it was a fake m2m field, now it is a pure virtual fields and is based on ForeignObject. There is still much room for improvement. The related fields code is still somewhat confusing, and how fields are represented in model._meta should also be revisited. This patch was written mostly by Jeremy Tillman with some final polish by the committer.
2013-03-24Fixed test failures introduced in e16c48e001.Aymeric Augustin
2013-03-24Added changes missing from previous commit.Aymeric Augustin
Sorry.
2013-03-24Fixed #15124 -- Changed the default for BooleanField.Aymeric Augustin
Thanks to the many contributors who updated and improved the patch over the life of this ticket.
2013-03-24Added release notes for 4b31a6a9.Aymeric Augustin
Thanks Florian for reporting this omission.
2013-03-24Fixed #17550 -- Removed a workaround for a bug in flup 1.0.1.Aymeric Augustin
This reverts commit 948a833eb7fd9be0bc2d585c92a407f036ef42b2. flup appears to be dead, and this fix breaks legitimate uses of Django. Refs #8490.
2013-03-23Merge pull request #941 from xakon/masterTim Graham
Small typo error in tutorial
2013-03-23Fixed #20119 -- Fixed typo in auth docsClaude Paroz
Thanks vinyll for the report.
2013-03-23Fixed #9055 -- Standardized behaviour of parameter escaping in db cursorsClaude Paroz
Previously, depending on the database backend or the cursor type, you'd need to double the percent signs in the query before passing it to cursor.execute. Now cursor.execute consistently need percent doubling whenever params argument is not None (placeholder substitution will happen). Thanks Thomas Güttler for the report and Walter Doekes for his work on the patch.
2013-03-23Fixed #20117 -- Added missing translation override to fix flatpages test.matiasb
2013-03-23Merge pull request #942 from stephrdev/trac-18000Jannis Leidel
Fixed #18000 -- Moved the code to handle goto requests to an extra WizardView method.
2013-03-23Updated docs, changed versionchanged to versionadded.Stephan Jaekel
2013-03-23Merge pull request #943 from stephrdev/trac-19433Jannis Leidel
Fixed #19433 -- Added some class attributes to pass initial form lists to the WizardView.
2013-03-23Added some class attributes to pass initial form lists to the WizardView ↵Stephan Jaekel
without the need to add them in the as_view call.
2013-03-23Moved the code to handle goto requests in a extra WizardView method.Stephan Jaekel
2013-03-23Fix minor typo in tutorialChristos Kontas
2013-03-23Fixed #20048, #20060 -- Modified tests for contrib apps sensitive to custom ↵Russell Keith-Magee
User models. Thanks to matiasb for the report of #20060 and the draft patch for #20048.
2013-03-22Fixed #16350 -- Forced capitalization in template.Aymeric Augustin
This improves rendering in some foreign languages.
2013-03-22Added missing markup to docs.Tim Graham
2013-03-22Merge pull request #935 from tomviner/masterTim Graham
Docs template name typo
2013-03-22Fixed #20108 -- Fixed filepath_to_uri decoding errorClaude Paroz
This was a regression due to unicode_literals usage. Thanks Ivan Virabyan for the report and the initial patch.
2013-03-22Fixed #20094 - Be more careful when checking for IteratorMarc Tamlyn
Python 2.6 has some different behaviour when checking isinstance(foo, collections.Iterator).
2013-03-22Fixed #17935 - Clarified intro of topics/files.txt.Tim Graham
Thanks guettli for the suggestion.
2013-03-21Docs template name mistakeTom V
change_list_request.html doesn't exist, it's named  change_list_results.html
2013-03-21Fixed #20084 -- Provided option to validate formset max_num on server.Andrew Gorcester
This is provided as a new "validate_max" formset_factory option defaulting to False, since the non-validating behavior of max_num is longstanding, and there is certainly code relying on it. (In fact, even the Django admin relies on it for the case where there are more existing inlines than the given max_num). It may be that at some point we want to deprecate validate_max=False and eventually remove the option, but this commit takes no steps in that direction. This also fixes the DoS-prevention absolute_max enforcement so that it causes a form validation error rather than an IndexError, and ensures that absolute_max is always 1000 more than max_num, to prevent surprising changes in behavior with max_num close to absolute_max. Lastly, this commit fixes the previous inconsistency between a regular formset and a model formset in the precedence of max_num and initial data. Previously in a regular formset, if the provided initial data was longer than max_num, it was truncated; in a model formset, all initial forms would be displayed regardless of max_num. Now regular formsets are the same as model formsets; all initial forms are displayed, even if more than max_num. (But if validate_max is True, submitting these forms will result in a "too many forms" validation error!) This combination of behaviors was chosen to keep the max_num validation simple and consistent, and avoid silent data loss due to truncation of initial data. Thanks to Preston for discussion of the design choices.
2013-03-20Fixed #18839 - Field.__init__() now calls super().Carny Cheng
2013-03-21Removed unused importAnssi Kääriäinen
2013-03-20Fixed #18972 -- Refactored bundled wsgi server's chunking algorithm.Matthew Wood
Thanks to amosonn at yahoo.com for the report, @doda for the initial patch and @datagrok for the revamped logic and test case.
2013-03-21Added tests for already fixed #20101Anssi Kääriäinen
The ticket dealt with a case where one query had .exclude() that produced a subquery, the other query had a join to the same model that was subqueried in the first query. This was already fixed in master, so only test added.
2013-03-20Fixed #20096 -- Added link to the Greek localflavor appClaude Paroz
2013-03-20Fixed #19972 -- Fixed overflow issue in admin changelist pages.Florian Apolloner
Thanks to loic84 for the report and patch.
2013-03-20Revert "Fixed 19895 -- Made second iteration over invalid queryset raise an ↵Claude Paroz
exception too" This reverts commit 2cd0edaa477b327024e4007c8eaf46646dcd0f21. This commit was the cause of a memory leak. See ticket for more details. Thanks Anssi Kääriäinen for identifying the source of the bug.
2013-03-20Reordered AUTHORS in last name alphabetic orderClaude Paroz
2013-03-19Fixed #16319 -- added SuccessMessageMixin to contrib.messagesPaul Collins
Thanks martinogden for the initial patch and d1ffuz0r for tests.
2013-03-19Fixed a python 3.2 syntax error and python 3 warning introduced by 054ce2aa02.Simon Charette
2013-03-19Refs #18586 -- Split out long custom_columns lookup test into multiple tests.konarkmodi
2013-03-19Merge pull request #931 from ↵Preston Holmes
catalanojuan/fix-admin-log-dependency-on-user-id-field-20088 Fixed #20088 -- Changed get_admin_log not to depend on User id field
2013-03-19Fixed #18003 -- Preserved tracebacks when re-raising errors.konarkmodi
Thanks jrothenbuhler for draft patch, Konark Modi for updates.
2013-03-19Fixed #20088 -- Changed get_admin_log not to depend on User id fieldJuan Catalano
Before this change, the get_admin_log method would expect User model's FK to be named `id`. When changing that FK name, admin/index.html rendering would fail. This includes: * Changed the use of id for the use of pk property. * Added a regression test that fails without the patch. This commit refs #20088.
2013-03-19Reworded Mark Pilgrim section in AUTHORS.Adrian Holovaty
Removed the RIP, which seemed callous given today's news of Malcolm's death.
2013-03-18Merge pull request #927 from ryanisnan/masterJacob Kaplan-Moss
Documentation - Small update to SESSION_COOKIE_DOMAIN documentation
2013-03-18small documentation update to outline caveat with SESSION_COOKIE_DOMAINRyan West