summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2013-08-21Avoid importing the deprecated `django.utils.importlib` package.Simon Charette
2013-08-21Correctly format missing Pillow/PIL exceptions messages. refs #19934Simon Charette
2013-08-21Change autodetector changes API to be just one methodAndrew Godwin
2013-08-21Fixed #20949 -- Typo #2 in docstringTim Graham
2013-08-21Fixed docstring typo, thanks minddust.Tim Graham
2013-08-21Fixed a regression with get_or_create and virtual fields.Tim Graham
refs #20429 Thanks Simon Charette for the report and review.
2013-08-21Fixed #12422 -- Don't override global email charset behavior for utf-8.Ramiro Morales
Thanks simonb for the report, Claude Paroz and Susan Tan for their work on a fix.
2013-08-21Fixed #20946 -- model inheritance + m2m failureAnssi Kääriäinen
Cleaned up the internal implementation of m2m fields by removing related.py _get_fk_val(). The _get_fk_val() was doing the wrong thing if asked for the foreign key value on foreign key to parent model's primary key when child model had different primary key field.
2013-08-20Import test case classes from their public API module.Ramiro Morales
2013-08-20Fixed #18967 -- Don't base64-encode message/rfc822 attachments.Ramiro Morales
Thanks Michael Farrell for the report and his work on the fix.
2013-08-20Fixed #20933 -- Allowed loaddata to load fixtures from relative paths.Florian Apolloner
2013-08-20Oracle also treats NULLs as largests values when ordering.Simon Charette
2013-08-20Fixed #20820 -- Model inheritance + m2m fixture loading regressionAnssi Kääriäinen
Tests by Tim Graham, report from jeroen.pulles@redslider.net.
2013-08-20Fixed test failure caused by different NULL ordering between backendsAnssi Kääriäinen
2013-08-20Fixed #14056 -- Made sure LEFT JOIN aren't trimmed in ORDER BYAnssi Kääriäinen
If LEFT JOINs are required for correct results, then trimming the join can lead to incorrect results. Consider case: TBL A: ID | TBL B: ID A_ID 1 1 1 2 Now A.order_by('b__a') did use a join to B, and B's a_id column. This was seen to contain the same value as A's id, and so the join was trimmed. But this wasn't correct as the join is LEFT JOIN, and for row A.id = 2 the B.a_id column is NULL.
2013-08-20Fixed #20943 -- Weakly reference senders when caching their associated receiversSimon Charette
2013-08-19Avoid importing the deprecated `django.utils.importlib` package.Simon Charette
2013-08-19Correctly format missing Pillow/PIL exceptions messages. refs #19934Simon Charette
2013-08-19Merge remote-tracking branch 'core/master' into schema-alterationAndrew Godwin
Conflicts: docs/ref/django-admin.txt
2013-08-19Fixed #20640 -- Avoided NoReverseMatch in get_deleted_objectsRainer Koirikivi
The default delete action resulted in a NoReverseMatch if it were to list any Model with a ModelAdmin with `get_urls` overridden to remove the change url. Catching the error and not displaying the link in that case, as was already done for models with no registered admins. Thanks Keryn Knight for the report.
2013-08-19Fixed GIS regression caused by force_subqAnssi Kääriäinen
Caused by commit 7737305a4f5dc5006d92dac3a61523ad6c2a523a
2013-08-19Fixed #11881 -- removed junk from aggregation subqueriesAnssi Kääriäinen
There were clauses that weren't needed in the subqueries. These were ORDER BY, SELECT FOR UPDATE and related selections.
2013-08-19Fixed #12886 -- aggregation over sliced querysetAnssi Kääriäinen
2013-08-19Add more stringent M2M tests and fix the bug they exposedAndrew Godwin
2013-08-19Minor oracle fixesAndrew Godwin
2013-08-19Fixed #20777 -- Admin proxy model deletion regressionAnssi Kääriäinen
Added proxy_models tests by Harm Geerts <github@geertswei.nl>.
2013-08-19Made Model.__eq__ consider proxy models equivalentAnssi Kääriäinen
Fixed #11892, fixed #16458, fixed #14492.
2013-08-18Some code simplificationAlex Gaynor
2013-08-18Merge pull request #1479 from nickbruun/ticket_20924Alex Gaynor
Proxy __len__ and __contains__ for LazyObject
2013-08-18Update LazyObject method proxy declarations to simpler form.Nick Bruun
2013-08-16Fixed #20829 -- Skip postgis metadata tables with introspectionHarm Geerts
2013-08-16Combine consecutive with statementsClaude Paroz
Python 2.7 allows to combine several 'with' instructions.
2013-08-15Fixed #20895 -- Made check management command warn if a BooleanField does ↵Alasdair Nicol
not have a default value Thanks to Collin Anderson for the suggestion and Tim Graham for reviewing the patch.
2013-08-15Regression test and patch for ticket #20924.Nick Bruun
2013-08-14Fixed #20709 -- Allowed {% widthratio %} to accept an "as" parameter.Jonathan Slenders
Thanks clay.evil@ for the suggestion.
2013-08-14Fixed #11400 -- Passed kwargs from AbstractUser.email_user() to send_mail()SusanTan
Thanks Jug_ for suggestion, john_scott for the initial patch, and Tim Graham for code review.
2013-08-13Fixed #20864 -- Made the test client use common method for performing requests.Krzysztof Jurewicz
2013-08-13Oracle schema backend, passes most tests and is pretty complete.Andrew Godwin
2013-08-13Fixed #20555 -- Make subwidget id attribute availableMatt Johnson
In `BoundField.__iter__`, the widget's id attribute is now passed to each subwidget. A new id_for_label property was added to ChoiceInput.
2013-08-13Apply autoescaping to AdminURLFieldWidget.Jacob Kaplan-Moss
This is a security fix; disclosure to follow shortly.
2013-08-13Fixed is_safe_url() to reject URLs that use a scheme other than HTTP/S.Jacob Kaplan-Moss
This is a security fix; disclosure to follow shortly.
2013-08-13Merge pull request #1470 from loic/admin.actionlistTim Graham
Fixed overflow for the "Recent Actions" widget on the admin index.
2013-08-13Fixed #20883 -- Made model inheritance find parent links in abstract parentsLoic Bistuer
2013-08-13Fixed overflow for the "Recent Actions" widget on the admin index.Loic Bistuer
Previously the CSS targeted "li.changelink" and therefore didn't work for the "add" and "delete" actions. Refs #14868.
2013-08-13Fixed #20874 -- bump_prefix() in nested subqueriesAnssi Kääriäinen
Also made some cleanup to build_filter() code by introducing submethods solve_lookup_type() and prepare_lookup_value().
2013-08-12Unlocalize line numbers and ids in debug 500 view.Ramiro Morales
While using USE_L10N, line numbers and IDs were printed as comma (or locale equivalent) separated values. Thanks Kronuz for the report and intial patch. Fixes #20861.
2013-08-12Start of getting Oracle to do schema stuffAndrew Godwin
2013-08-12Fixed #17778 -- Prevented class attributes on context from resolving as ↵Tim Graham
template variables. Thanks KyleMac for the report, regebro for the patch, and Aymeric for the test.
2013-08-12Use DEFAULT_DB_ALIASAndrew Godwin
2013-08-12Fixed #13518 -- Added FILE_UPLOAD_DIRECTORY_PERMISSIONS settingMel Collins
This setting does for new directories what FILE_UPLOAD_PERMISSIONS does for new files. Thanks jacob@ for the suggestion.