summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2013-08-13Apply autoescaping to AdminURLFieldWidget.Jacob Kaplan-Moss
This is a security fix; disclosure to follow shortly.
2013-08-06[1.6.x] Fixed #20865 -- Fixed raw_id_fields to work with callable ↵Collin Anderson
limit_choices_to. Backport of d53e574676 from master
2013-08-06[1.6.x] Fixed #19918 -- Modified select_for_update to run on the write database.Alex Cucu
Backport of 1c64a0f29e from master
2013-08-06[1.6.x] Fixed ordering related test failureAnssi Kääriäinen
Also PEP8 + python_2_unicode_compatible cleanup done. Backport of 263b873599 from master
2013-08-05[1.6.x] Fixed #20850 -- Added MultiWidget.needs_multipart_formTim Heap
Backport of 75c87e2d38 from master
2013-08-04[1.6.x] Fixed #20822 -- Set content type of default error pages to 'text/html'.Aymeric Augustin
Thanks Jimmy Song for the patch. Backport of 7843775 from master.
2013-08-02[1.6.x] Fixed LogEntry.get_admin_url() for non-existent models.Petr Dlouhý
Regression introduced by [369b6fa]; refs #18169. Backport of 1b47508ac8 from master
2013-08-02[1.6.x] Fixed #18681 -- GenericInlineModelAdmin.get_formset() no longer ↵Loic Bistuer
bypasses get_fieldsets(). Refs 23e1b59 which already fixed this issue for ModelAdmin and InlineModelAdmin. Backport of a0ed2f9260 from master
2013-08-02[1.6.x] Fixed #18777 -- Localized form fields with as_text/as_hiddenAleksandra Sendecka
Thanks croldan for the report. Backport of 893d8de6f5 from master
2013-08-02[1.6.x] Fixed #17519 -- Fixed missing SQL constraints to proxy models.Tim Graham
Thanks thibaultj for the report, jenh for the patch, and charettes for the tests. Backport of aa830009de from master
2013-07-30[1.6.x] Fixed #10491 -- Allowed passing lazy objects to HttpResponseRedirect.Baptiste Mispelon
Thanks liangent for the report. Backport of 3c45fb8589 from master
2013-07-28[1.6.x] Simplified smart_urlquote and added some basic tests.Florian Apolloner
Backport of b70c371fc1f18ea0c43b503122df3f311afc7105 from master.
2013-07-26[1.6.x] Fixed #20805 -- Removed an extra colon beside checkboxes in the admin.Tim Graham
Thanks CollinAnderson for the report. Backport of 8676318d2d from master
2013-07-26[1.6.x] Updated contrib.admin to use Email/URLInputs; refs #16630Tim Graham
Backport of 2a979d2a7b from master
2013-07-26[1.6.x] Fixed related model lookup regressionAnssi Kääriäinen
It has been possible to use models of wrong type in related field lookups. For example pigs__in=[a_duck] has worked. Changes to ForeignObject broke that. It might be a good idea to restrict the model types usable in lookups. This should be done intentionally, not accidentally and without any consideration for deprecation path. Backpatch of 7cca8d56d28e321ffc395c92f82d97adaa0dcf94 from master.
2013-07-25[1.6.x] Fixed ._meta.pk_index() virtual field failureAnssi Kääriäinen
Backport of 92476e880c from master
2013-07-22[1.6.x] Fixed #20781 -- Fixed _has_changed regression with MultiValueFieldClaude Paroz
Thanks Tim Graham for the report. Backport of 02b0106d from master.
2013-07-21[1.6.x] Fixed an email validation regressionClaude Paroz
Thanks Vincent Wagelaar for the report. Backport of 11b7b9ad from master.
2013-07-21[1.6.x] Fixed #13696 -- ensured inline pk field is renderedKaren Tracey
Backport of 3aad955ea8db1592fad0012155eaa25b72e50dc5 from master.
2013-07-19[1.6.x] Fixed #20765 -- Set small values of `step` using exponential notation.Simon Charette
Browsers parse small factors of 10 as 0 under decimal notation. Thanks to Trac alias matklad for the report and Claude Paroz for the review. Backport of 415a36947c from master.
2013-07-18[1.6.x] Fixed #20767 -- Fixed ModelAdmin.preserve_filters for namespaced URLs.Loic Bistuer
Thanks Collin Anderson for the report. Backport of 2fc6c9472c from master.
2013-07-13[1.6.x] Fixed #20681 -- Prevented teardown_databases from attempting to tear ↵Tim Graham
down aliases Thanks simonpercivall. Backport of d9c580306c from master
2013-07-13[1.6.x] Fixed a deprecation warning in a selenium test.Tim Graham
Backport of 9b471a8fe3 from master
2013-07-12[1.6.x] Fixed #20740 -- GenericIPAddressField should pass protocol to ↵Tim Graham
formfield() Thanks Jeff250. Backport of f2cb94f1c0 from master
2013-07-10[1.6.x] Fixed #19196 -- Added test/requirementsTim Graham
Backport of 4d92a0bd86 from master.
2013-07-09Fixed #20724 -- Test failure on SQLite.Aymeric Augustin
This test failure happened if the connection's NAME was set to a file system path, and its TEST_NAME wasn't. Thanks Claude for the report. Conflicts: tests/transactions_regress/tests.py Backport of 404870ee1f0d15f6b81d0e0b059068b1f020b2f1 from master.
2013-07-09Avoided transaction.set_autocommit in tests.Aymeric Augustin
It doesn't work as one might expect on a certain database backend where autocommits_when_autocommit_is_off = True. That backend happens to be popular for running tests. Backport of 38bc581bc02d83ecab6d19514ac51b57f0e11866 from master.
2013-07-04[1.6.x] Fixed #19940 -- Made test.runner.setup_databases properly handle ↵Tim Graham
aliases for default db. Thanks simonpercivall. Backport of 2cbd579efe from master.
2013-07-01[1.6.x] Fixed a couple form/formset deprecation warnings in tests.Tim Graham
Backport of a521d10322 from master.
2013-07-01[1.6.x] Updated tests for deprecation of ↵Tim Graham
Option.get_(add|change|delete)_permission. refs #20642. Backport of a6a905c619 from master.
2013-06-30[1.6.x] Stopped calling loaddata with commit=False.Aymeric Augustin
This was a stealth option only used by the tests, and it isn't useful any more since `atomic` provides nested transactions. Backport of 2c40681 from master.
2013-06-29[1.6.x] Fixed #18592 -- Prevented crash when accessing MySQL _last_executedClaude Paroz
Thanks reames at asymmetricventures.com for the report. Backport of 59b0c48ce from master.
2013-06-29[1.6.x] Do not allow FileSystemStorage.delete to receive an empty nameClaude Paroz
Refs #20660. Backport of 7fbab3eba from master.
2013-06-29[1.6.x] Fixed #20660 -- Do not try to delete an unset FieldFileClaude Paroz
Thanks stanislas.guerra at gmail.com for the report and Baptiste Mispelon for the review. Backport of ea3fe78a9d from master.
2013-06-28Support 'pyformat' style parameters in raw queries, Refs #10070Shai Berger
Add support for Oracle, fix an issue with the repr of RawQuerySet, add tests and documentations. Also added a 'supports_paramstyle_pyformat' database feature, True by default, False for SQLite. Thanks Donald Stufft for review of documentation.
2013-06-27Prevented running some admin_view tests twice.Tim Graham
2013-06-27Fixed #20664 -- Fixed a bug with raw_id_fields on Python 3.Tim Graham
Thanks jefftriplett for the report.
2013-06-27Fixed #20571 -- Added an API to control connection.needs_rollback.Aymeric Augustin
This is useful: - to force a rollback on the exit of an atomic block without having to raise and catch an exception; - to prevent a rollback after handling an exception manually.
2013-06-27Add related_query_name to ForeignKey/M2M. Refs #20244Andrew Godwin
2013-06-26Fixed #20462 - Replaced the str() cast introduced in 273dc55 by force_text()Loic Bistuer
2013-06-26Fixed #20462 -- null/non-string regex lookups are now consistentAndrew Clark
Thanks to noirbizarre for the report and initial patch.
2013-06-25Fixed #20650 -- Fixed {% filter %} incorrectly accepting 'escape' as argumentBaptiste Mispelon
Thanks to grzesiof for the report and to loic84 and Alex Gaynor for the review.
2013-06-25Fixed #19773 - Added admin/popup_response.html template.Javier Mansilla
Thanks jimmylam@ for the suggestion.
2013-06-25Fixed #20653 -- Renamed checksetup management command.Russell Keith-Magee
This is to allow future compatibility with work that is ongoing in the 2013 GSoC.
2013-06-22Fixed #20311 -- Make sure makemessages doesn't create duplicate Plural-Forms ↵Ramiro Morales
.po file headers. Thanks naktinis for the report and initial patch.
2013-06-22Fixed #20587 -- Made convert_values handle None valuesGilberto Gonçalves
2013-06-22Fixed #18872 -- Added prefix to FormMixinGilberto Gonçalves
Thanks @ibustama for the initial patch and dragonsnaker for opening the report.
2013-06-22Fixed 17478 -- Allowed queryset overriding in BaseModelFormSet initClaude Paroz
BaseModelFormSet.forms is now a cached property instead of being populated in the __init__ method. This behaviour also matches an example in the documentation. Thanks Thomasz Swiderski for the report and Simon Charette for the review.
2013-06-21Fixed #20290 -- Allow override_settings to be nestedOliver Beattie
Refactored override_settings to store the underlying settings._wrapped value seen at runtime, not instantiation time.
2013-06-20Fixed #20630 -- Removed `maxlength` attribute from `NumberInput`.Simon Charette
This attribute is only allowed on inputs of type "text", "search", "url", "tel", "email", or "password". Thanks to yoyoma for the report and @bmispelon for the review.