summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2016-06-21[1.10.x] Fixed #26785 -- Made Oracle return None rather than empty string ↵Sergey Fedoseev
for empty geometries. Backport of ea4665066b651e0e2730f2e2d85fcef9d7ac7966 from master
2016-06-21[1.10.x] Fixed #26781 -- Made table name case change a noop on SQLite.Simon Charette
SQLite disgresses from the SQL standard by ignoring case of quoted identifiers. Thanks to laozzzi for the report and Tim for the review. Backport of c2e62fd1aed093c4d9ff84e3d86e6a85c8aa1917 from master
2016-06-21[1.10.x] Refs #21379, #26719 -- Moved username normalization to ↵Tim Graham
AbstractBaseUser. Thanks Huynh Thanh Tam for the initial patch and Claude Paroz for review. Backport of 39805686b364358af725b695924a5a6dfa7f5302 from master
2016-06-21[1.10.x] Fixed #26787 -- Documented deleting and reloading of model instance ↵Tim Graham
fields. Thanks Julien Hartmann for the report. Backport of 20d1cb33c2ec1242e16c49deb88e8c70517b2d1a from master
2016-06-21[1.10.x] Fixed #26729 -- Allowed overriding a form field's label/help_text ↵Paulo
in Form.__init__() for TabularInline. Backport of 9c2d5a8d333277cc1b482a9d05f174cf4d09f24c from master
2016-06-21[1.10.x] Fixed #26783 -- Fixed SessionMiddleware's empty cookie deletion ↵Jon Dufresne
when using SESSION_COOKIE_PATH. Backport of d13881bd34ff8f76b902ef5256001341d60b3161 from master
2016-06-21[1.10.x] Fixed #26750 -- Fixed introspection for geography point field with ↵Claude Paroz
dim=3 Thanks Yegor Kazantsev for the report and the initial patch. Backport of 140c23502 from master.
2016-06-20[1.10.x] Refs #22384 -- Readded RegexURLResolver.reverse().Tim Graham
It was removed in 785cc71d5b3300e2702b0b2fc7316e58ca70b563 only because it was untested and unused in Django itself, however, some third-party apps use it. Backport of 4e400dcb79bc468ee1ff899312a00ed8dc3e795c from master
2016-06-20[1.10.x] Fixed #26643 -- Prevented unnecessary AlterModelManagers operations ↵Loïc Bistuer
caused by the manager inheritance refactor. This also makes migrations respect the base_manager_name and default_manager_name model options. Thanks Anthony King and Matthew Schinckel for the initial patches. Backport of 2eb7cb2fffcc382979d0731370de26b051d04659 from master
2016-06-18[1.10.x] Fixed #26778 -- Fixed ModelSignal.connect() weak argument.Tim Graham
Backport of 9bf8d50a678463a5a3cd52f10c830fe0ca65d2c6 from master
2016-06-18[1.10.x] Fixed #26775 -- Supported dim=3 geography fieldsClaude Paroz
Thanks François-Xavier Thomas for the report. Backport of 8ba44ecda0 from master.
2016-06-18[1.10.x] Refs #26772 -- Added a test for FileField reopening closed files.Paul J Stevens
Thanks Simon Charette for review. Backport of b45852c2631d4f291fb22ef3348065f2a3c2e5e3 from master
2016-06-18[1.10.x] Reverted "Fixed #26644 -- Allowed wrapping NamedTemporaryFile with ↵Tim Graham
File." This reverts commit 1b407050dd53e56686fdd3e168f8cac4f9be8306 as it introduces a regression in the test for refs #26772. Backport of cd217de6100e0101fd921dd18bc2e706bac397c9 from master
2016-06-18[1.10.x] Fixed #24931 -- Made namespaced RegexURLResolvers populate callback ↵Markus Holtermann
strings. Fixed a regression in 2f16ff5a6cbd71fc6c50e88e4087f3657222e90e. Thanks Tim Graham for the review. Backport of 625b8e9295d79650208bfb3fca8bf9e6aaf578e4 from master
2016-06-18[1.10.x] Refs #15667 -- Fixed crash when indexing RadioFieldRenderer with ↵Tim Graham
ModelChoiceIterator. Regression in 86573861a95e5a47dc7ff906443117d75b73dca1
2016-06-17[1.10.x] Reverted "Fixed #26398 -- Made FieldFile.open() respect its mode ↵Tim Graham
argument." This reverts commit a52a531a8b34f049fba11c3ee7b010af7534bf90 due to regressions described in refs #26772. Backport of 7def55c3f6716fcfa40a3bd5d0fbb2090588d81e from master
2016-06-17[1.10.x] Refs #26601 -- Improved backwards-compatibility of DEP 5 middleware ↵Carl Meyer
exception handling. Backport of 7d1b69dbe7f72ac04d2513f0468fe2146231b286 from master
2016-06-17[1.10.x] Moved old-middleware tests in preparation for adding new tests.Carl Meyer
Backport of 104ee2fdae7fcd402396c709c91f5c84de6e4165 from master
2016-06-17[1.10.x] Improved debugging of failed middleware_exceptions tests.Carl Meyer
Backport of 702dfa3589cddf996c18aee46286a49844efd70d from master
2016-06-16[1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
Backport of 4f336f66523001b009ab038b10848508fd208b3b from master
2016-06-16[1.10.x] Fixed flake8 2.6 warnings.Tim Graham
Backport of ea34426ae789d31b036f58c8fd59ce299649e91e from master
2016-06-14[1.10.x] Fixed #26644 -- Allowed wrapping NamedTemporaryFile with File.Hugo Osvaldo Barrera
914c72be2abb1c6dd860cb9279beaa66409ae1b2 introduced a regression that causes saving a NamedTemporaryFile in a FileField to raise a SuspiciousFileOperation. To remedy this, if a File has an absolute path as a filename, use only the basename as the filename. Backport of 1b407050dd53e56686fdd3e168f8cac4f9be8306 from master
2016-06-14[1.10.x] Removed usage of a deprecated unittest assertion.Ville Skyttä
Backport of fa654da6130df80239e181c432595442e688ee8b from master
2016-06-07[1.10.x] Fixed #26716 -- Made CurrentSiteMiddleware compatible with ↵Brett Haydon
new-style middleware. Backport of 5e3f4c2e53d9dde0fcf9f5f33f63c15c4750019f from master
2016-06-04[1.10.x] Fixed #26667 -- Fixed a regression in queries on a OneToOneField ↵Tim Graham
that has to_field and primary_key=True. Thanks Simon Charette for review. Backport of e2296e7f0acf9c50868ab997ba565c1f47beb45b from master
2016-06-03[1.10.x] Fixed #26698 -- Fixed PostgreSQL dbshell crash on an empty database ↵mieciu
name. Backport of 19ff506878071ac93de684fe01328707e75e2b3a from master
2016-06-02[1.10.x] Fixed #26672 -- Fixed HStoreField to raise ValidationError instead ↵Brad Melin
of crashing on non-dict JSON input. Backport of f6517a5335ccc4858ee540548a1bd162bec36c46 from master
2016-06-02[1.10.x] Fixed #26686 -- Fixed crash when registering model signals with ↵Alex Hill
abstract senders. Backport of 08014fe75b4fc379523f340191a02147ec35f7a3 from master
2016-06-02[1.10.x] Fixed #26642 -- Made ModelSignal.disconnect() work with lazy ↵Alex Hill
references. Backport of ff6c6feae17120c2c7df74fb6a9dc76826a1e233 from master
2016-06-01[1.10.x] Fixed #26692 -- Relaxed an i18n compilemessages test.Ramiro Morales
The actual non-ASCII character differs on Windows. Backport of 71421e8f8766525e709397f14e100f2846849df0 from master
2016-05-31[1.10.x] Fixed #26676 -- Prevented prefetching to_attr from caching its ↵Simon Charette
result in through attr. Thanks Ursidours for the report. Backport of 53a5fb3cc0137bebeebc0d4d321dbfe20397b065 from master
2016-05-31[1.10.x] Fixed #26687 -- Made an i18n test not use a hardcoded path separator.Ramiro Morales
Fixed a failure on Windows. Backport of e3877c53edb33271b0f31d20e60a924848692026 from master
2016-05-30[1.10.x] Fixed #25044 -- Fixed migrations for renaming ManyToManyField's ↵Vytis Banaitis
through model. Backport of f1e408ff40d2c1753f92515c70a44634b4d47467 from master
2016-05-29[1.10.x] Fixed #26674 -- Corrected a i18n makemessages test.Ramiro Morales
Made it consistently read the PO file, decode its contents and then check for the non-breaking space Unicode code point. Previously we were erroneously skipping the interpretation of what we read as UTF-8 text. This was causing the test to fail on Windows with Python 3.5. Backport of 1b00ed088073ffd268af15d25246d2565253536d from master
2016-05-28[1.10.x] Fixed #26673 -- Fixed a I18N test case error on Windows+Python 2.7.Ramiro Morales
`subprocess.Popen` doesn't accept enviroment vars with Unicode var name or value. Backport of 15a5755e7cca630c2a0dbbcba436621ccc437c21 from master
2016-05-28[1.10.x] Refs #24227 -- Fixed crash of ManyToManyField.value_from_object() ↵Tim Graham
on unsaved model instances. This behavior was removed in 67d984413c9540074e4fe6aa033081a35cf192bc but is needed to prevent a crash in formtools. Backport of a4c20ae85b40c49e28d1b2227208e4f00d7820df from master
2016-05-27[1.10.x] Refs #25588 -- Fixed GDAL dependency in spatial lookups.Daniel Wiesmann
Backport of 9bb1b4b7f6b79096fc7418c3b7bb0118d44c373a from master
2016-05-26[1.10.x] Fixed #26647 -- Included the state of all applied migrations when ↵Simon Charette
migrating forward. Thanks Jasper Maes for the detailed report. Backport of 36d36818a30025034cad6f1ee59b2a960a6582ec from master
2016-05-23[1.10.x] Updated GeoIP test for latest database.Tim Graham
Backport of a0a1c4fbde4fb652b151a409db46c8ac3829ed2b from master
2016-05-22[1.10.x] Refs #24067 -- Fixed contenttypes rename tests failures on Oracle.Simon Charette
Broke the initial migration in two to work around #25530 and added 'django.contrib.auth' to the available_apps to make sure its tables are also flushed as Oracle doesn't implement cascade deletion in sql_flush(). Thanks Tim for the report. Backport of 722344ee59fb89ea2cd5b906d61b35f76579de4e from master
2016-05-19Fixed #26421 -- Refactored ModelSignal to use Apps.lazy_model_operation()Alex Hill
2016-05-19Refs #26421 -- Refactored Apps.lazy_model_operation() for better checks and ↵Alex Hill
tests
2016-05-19Refs #24100 -- Fixed a test failure on MySQL related to non-transactional DDL.Simon Charette
Thanks Tim for the report.
2016-05-19Fixed #26515 -- Fixed Query.trim_joins() for nested ForeignObjects.darius BERNARD
2016-05-19Fixed #20869 -- made CSRF tokens change every request by salt-encrypting themShai Berger
Note that the cookie is not changed every request, just the token retrieved by the `get_token()` method (used also by the `{% csrf_token %}` tag). While at it, made token validation strict: Where, before, any length was accepted and non-ASCII chars were ignored, we now treat anything other than `[A-Za-z0-9]{64}` as invalid (except for 32-char tokens, which, for backwards-compatibility, are accepted and replaced by 64-char ones). Thanks Trac user patrys for reporting, github user adambrenecki for initial patch, Tim Graham for help, and Curtis Maloney, Collin Anderson, Florian Apolloner, Markus Holtermann & Jon Dufresne for reviews.
2016-05-18Moved the AUTH_USER_MODEL setting changed receiver.Simon Charette
Test suites besides Django's may need the same behavior.
2016-05-18Fixed #26620 -- Made Model.refresh_from_db() fail when passed unknown kwargs.Marti Raudsepp
2016-05-18Fixed #26627 -- Fixed on_commit callbacks execution order when callbacks ↵Barthelemy Dagenais
make transactions.
2016-05-18Fixed running auth_tests in isolation after ↵Loïc Bistuer
3a47d42fa33012b2156bf04058d933df6b3082d2.
2016-05-18Fixed #25774 -- Refactor datetime expressions into public APIJosh Smeaton