summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2012-11-25Merge pull request #518 from vanschelven/patch-1Aymeric Augustin
Fixed interpolation in a translated string. Refs #14678.
2012-11-25Fixed #17646 -- Added a get_list_filter() method to ModelAdmin. Thanks to ↵Julien Phalip
rasca for the suggestion and to mateusgondim for the patch.
2012-11-25Change exception type to reduce confusion.Aymeric Augustin
TemplateSyntaxError is expected at compile time, not at run time. Refs #19280.
2012-11-25Enabled SimpleTestCase to be decorated by override_settingsClaude Paroz
Refs #18417. Also fixed some test case classes which subclassed the wrong parent.
2012-11-25Fixed #18417 -- Raised exception when unittest.TestCase is decorated with ↵Claude Paroz
override_settings
2012-11-25Fixed #19355 -- Improved LiveServerThread's handling of exceptions. Thanks ↵Julien Phalip
to flub for the report.
2012-11-24Merge pull request #554 from zedr/masterAymeric Augustin
Minor spelling error in a docstring
2012-11-24Fixed #19280 -- Raised an explicit exception for the old {% url %} syntax.Aymeric Augustin
2012-11-24Fixed #19293 -- Updated Czech input formatsVladimír Macek
Thanks vzima for the report.
2012-11-24Fixed #18722 -- Adjusted width of sortable columns in adminJonatan Heyman
Thanks Simon Charette for the report.
2012-11-24Updated User manager when testing custom AUTH_USER_MODELClaude Paroz
This is giving more real test conditions when AUTH_USER_MODEL is set with override_settings.
2012-11-24Updated stale docstring of setup_joinsAnssi Kääriäinen
2012-11-24Fixed #19237 -- Improved strip_tags utilityChris Khoo
The previous pattern didn't properly addressed cases where '>' was present inside quoted tag content.
2012-11-24Fixed #19343 -- Deadlock with TransactionTestCase + TEST_MIRROR + multi_db.Aymeric Augustin
Thanks Jeremy Dunck for the review.
2012-11-24Removed some stray debug lines introduced accidentally in c8985a8.Russell Keith-Magee
2012-11-24Fixed #19806 -- Ensure that content types and permissions aren't created for ↵Russell Keith-Magee
swapped models. Thanks to rizumu for the report.
2012-11-24Fixed #19351 -- SQLite bulk_insert of more than 500 single-field objsAnssi Kääriäinen
2012-11-24Fixed SQLite's collapsing of same-valued instances in bulk_createAnssi Kääriäinen
SQLite used INSERT INTO tbl SELECT %s UNION SELECT %s, the problem was that there should have been UNION ALL instead of UNION. Refs #19351
2012-11-23Fixed #18375 -- Removed dict-ordering dependency for F-expressionsAnssi Kääriäinen
F() expressions reuse joins like any lookup in a .filter() call - reuse multijoins generated in the same .filter() call else generate new joins. Also, lookups can now reuse joins generated by F(). This change is backwards incompatible, but it is required to prevent dict randomization from generating different queries depending on .filter() kwarg ordering. The new way is also more consistent in how joins are reused.
2012-11-23Fixed cursor commit command in PostGIS backendClaude Paroz
Thanks Bruno Renié for noticing the error.
2012-11-23Fix spelling error in the docstringRigel Di Scala
2012-11-23Fixed #19152 -- Allowed PostGIS tests to be run without templateFlavio Curella
From version 2, a PostGIS template is no longer required to create a GIS-enabled database.
2012-11-22Fixed #18984 -- Avoided a deadlock in test teardown.Aymeric Augustin
Thanks Jeremy Dunck for the report.
2012-11-22Fixed #16039 -- Made post_syncdb handlers multi-db aware.Aymeric Augustin
Also reverted 8fb7a9002669fb7ba7bec7df90b465b92e1ed3c2. Refs #17055.
2012-11-22Fixed #19316 -- Set View args/kwargs/request before dispatchGeorge Hickman
2012-11-22Merge pull request #511 from ryankask/username-password-adminAymeric Augustin
Allowed custom User models to use the UserAdmin's change password view. Fix #19056 (again).
2012-11-22Clarified usage of as_view kwargs for setting arguments on class based viewsTim Graham
Thanks Dave McLain for the patch.
2012-11-22Merge branch 'ticket_19325' of https://github.com/hannesstruss/django into ↵Jannis Leidel
hannesstruss-ticket_19325
2012-11-21Add orphans support to MultipleObjectMixinChris Beaven
Fixes #7005
2012-11-21Paginator._get_page hookChris Beaven
This allows for Paginator subclasses to easily override the Page class that gets used. Took the opportunity to also do some non-invasive PEP8 tidying of the paginator module.
2012-11-20Fixed #19331 (again) use the right admin named URL.Ramiro Morales
This allows us to get the trailing slash in URLs without having to manually assemble and hard-code them. See also commits e9497a, a222d6, f51eab, 5a9e12.
2012-11-20Fixed #19331 -- Added missing trailing slash in auth admin templateClaude Paroz
Thanks ppetrid at yawd.eu for the report.
2012-11-20Fixed #19325 - Made email backend of AdminEmailHandler configurableHannes Struss
2012-11-19Fix typo in commentRiley Strong
2012-11-19Fixed #18658 -- Improved ModelAdmin.message_user APIPreston Holmes
Thanks to Lowe Thiderman for the patch and tests
2012-11-17Fixed #19291 -- Completed deprecation of ADMIN_MEDIA_PREFIX.Aymeric Augustin
2012-11-17Merge pull request #467 from tomchristie/page-kwargJannis Leidel
Add 'page_kwarg' attribute to `MultipleObjectMixin`, removing hardcoded "page".
2012-11-17Merge pull request #466 from kenthauser/ticket_19025Jannis Leidel
#19025 Add `form` to formwizard context (includes tests)
2012-11-17Fixed #2550 -- Allow the auth backends to raise the PermissionDenied ↵Jannis Leidel
exception to completely stop the authentication chain. Many thanks to namn, danielr, Dan Julius, Łukasz Rekucki, Aashu Dwivedi and umbrae for working this over the years.
2012-11-17Fixed #19114 -- Fixed LogEntry unicode representationClaude Paroz
Thanks niko at neagee.net for the report and Emil Stenstrom for the patch.
2012-11-17Fixed #19036 -- Fixed base64 uploads decodingClaude Paroz
Thanks anthony at adsorbtion.org for the report, and johannesl for bringing the patch up-to-date.
2012-11-17Refactor loaddata for readability.Ramiro Morales
Thanks Claude Paroz and Daniel Moisset for review and feedback.
2012-11-17Fixed #19226 -- Applied linebreaksbr to read-only fields in adminClaude Paroz
Thanks shadow for the report, and Melevir and thiderman for the patch.
2012-11-17Fixed #18989 -- Removed unused condition in CursorWrapperClaude Paroz
Thanks zimnyx for the report.
2012-11-17Merge pull request #490 from gabrielhurley/reverse-prefix-special-charsJannis Leidel
Fixed #18210 -- Escaped special characters in reverse prefixes.
2012-11-17Fixed #19136 -- Properly escape gettext context prefixes in the i18n ↵Jannis Leidel
JavaScript view template.
2012-11-16Fixed #18985 -- made DeprecationWarnings loudPreston Holmes
Capture warnings in Python >= 2.7 and route through console handler, which is subject to DEBUG==True Thanks to dstufft for the idea, and claudep for initial patch
2012-11-16comment_will_be_sent can cause a 400, not a 403Brandon Adams
Doc cleanup for django.contrib.comments.signals.comment_will_be_sent If a receiver returns False, an HttpResponse with status code 400 is returned. A test case already exists confirming this behavior. Updated docs to reflect reality.
2012-11-16Fixed #19296 -- Applied test connection sharing for spatialiteClaude Paroz
Thanks pegler at gmail.com for the report and the initial patch.
2012-11-15Update django/contrib/flatpages/forms.pyvanschelven
Translate before passing in the variables (i.e. close the bracket earlier). If you translate after passing in the variables the translated value will contain the actual values for 'url' and 'site' and will therefore not be translated. (I'm not actually using django's flatpages, but I ran into this apparent error when doing a global grep on my own project)