summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-10-21[1.7.x] Fixed #23583 -- More selectively ignored static/media rootsClaude Paroz
Fixed a regression introduced by 28efafa24c. Thanks Michal Čihař for the report and initial patch, and Collin Anderson and Tim Graham for the reviews. Backport of 8b4cc9df9c from master.
2014-10-21[1.7.x] Fixed #21740 -- Allowed test client data to be an empty stringClaude Paroz
This fixes a regression introduced by 2a31d00933. Thanks tony-zhu for the report. Backport of f0bb3c98cc from master.
2014-10-20[1.7.x] Fixed a flake8 warning.Simon Charette
Backport of f6c208d95c from master
2014-10-20[1.7.x] Fixed #23629 -- Allowed autodetector to detect changes in Meta.db_table.Tianyi Wang
Thanks Naddiseo for reporting. Backport of 5732424bee from master
2014-10-17[1.7.x] Fixed #23615 -- Validate that a Model instance's "check" attribute ↵Rigel Di Scala
is a method. The "check" name is a reserved word used by Django's check framework, and cannot be redefined as something else other than a method, or the check framework will raise an error. This change amends the django.core.checks.model_check.check_all_models() function, so that it verifies that a model instance's attribute "check" is actually a method. This new check is assigned the id "models.E020". Conflicts: docs/ref/checks.txt Backport of a5c77417a6 from master
2014-10-15[1.7.x] Fixed #23651 -- Isolated non-existent fixture testsClaude Paroz
Previous versions of the tests were buggy, as initial_data.json did exist and the test wasn't failing. It was finally failing on Python 3.4.2. Thanks Raphaël Hertzog for the report (and Debian bug #765117 contributors). Backport of 7a893ee771 from master.
2014-10-14[1.7.x] Adapted invalid cookie test to all Python versionsClaude Paroz
Refs #23638. Older Python versions are less strict when parsing invalid cookie content. The test just has to ensure Django doesn't crash.
2014-10-13[1.7.x] Fixed #23638 -- Prevented crash while parsing invalid cookie contentClaude Paroz
Thanks Philip Gatt for the report and Tim Graham for the review. Backport of 59d487e7fc from master.
2014-10-12[1.7.x] Fixed #23063 -- Convert \n and \r to \r\n when using the SMTP ↵Florian Apolloner
backend as per RFC. Backport of 8d789449c7861b8cf8b10d244f26d9d354989aaf from master.
2014-10-10[1.7.x] Fixed #23616 - Fixed generic relations in ModelAdmin.list_filter.Konrad Świat
Thanks ranjur for reporting bug, timgraham for review, and collinanderson for contributing tips. Backport of 06b11b617e from master
2014-10-09[1.7.x] Fixed #23609 -- Fixed IntegrityError that prevented altering a NULL ↵Markus Holtermann
column into a NOT NULL one due to existing rows Thanks to Simon Charette, Loic Bistuer and Tim Graham for the review. Backport of f633ba778d from master
2014-10-09[1.7.x] Fixed #23365 -- Added support for timezone-aware datetimes to ↵Rudy Mutter
migrations. Backport of a407b846b4 from master
2014-10-08[1.7.x] Fixed #23333 -- Made urlsafe_base64_decode() return proper type on ↵Ian Foote
Python 3. Backport of 03d89168a2 from master
2014-10-08[1.7.x] Fixed #23611 -- update_or_create failing from a related managerAndré Ericson
Added update_or_create to RelatedManager, ManyRelatedManager and GenericRelatedObjectManager. Added missing get_or_create to GenericRelatedObjectManager. Conflicts: tests/generic_relations/tests.py tests/get_or_create/tests.py Backport of ed37f7e979 from master
2014-10-06[1.7.x] Fixed #23593 -- Fixed crash in AdminEmailHandler with non-ASCII ↵Tim Graham
characters in request. Thanks edevil for the report and Simon Charette for review. Backport of 9dff5ce7c7 from master
2014-10-06[1.7.x] Fixed #23601 -- Ensured view exists in URLconf before importing it ↵Markus Holtermann
in admindocs. Backport of 2f16ff5a6c from master
2014-10-07[1.7.x] Fixed #23594 -- Fixed deepcopy on ErrorList.Loic Bistuer
Thanks Troy Grosfield for the report and Tim Graham for the tests. Backport of ec2fd02bb3 from master
2014-10-06[1.7.x] Fixed #23604 -- Allowed related m2m fields to be references in the ↵Emmanuelle Delescolle
admin. Thanks Simon Charette for review. Backport of a24cf21722 from master
2014-09-29[1.7.x] Required numpy < 1.9 for tests; refs #23489.Tim Graham
2014-09-27[1.7.x] Fixed #23560 -- Fixed MigrationWrite to handle builtin types without ↵Loic Bistuer
imports. Thanks Tim Graham for the review. Backport of b23d47412c from master
2014-09-25[1.7.x] Fixed #23455 -- Forced related_name to be a unicode string during ↵Markus Holtermann
deconstruction. Backport of 45bd7b3bd9 from master
2014-09-25[1.7.x] Fixed #23415 -- Added fields for unmanaged and proxy model migrations.Markus Holtermann
Thanks sky-chen for the report. Backport of 215aa4f53b from master
2014-09-24[1.7.x] Revert "Fixed #23474 -- Prevented migrating backwards from ↵Tim Graham
unapplying the wrong migrations." Backport of d7ab2cefb7 from master
2014-09-24[1.7.x] Fixed #23421 -- Corrected TEST SERIALIZE setting.Tim Graham
Thanks gkoller for the report and Markus Holtermann for review.
2014-09-24[1.7.x] Fixed #23426 -- Don't require double percent sign in RunSQL without ↵Markus Holtermann
parameters Backport of b9a670b227 from master
2014-09-24[1.7.x] Fixed #23539 -- Added get_extra(), get_max_num(), and get_min_num() ↵Justin Caratzas
hooks to GenericInlineModelAdmin. Backport of cf43a1ee90 from master
2014-09-23[1.7.x] Fixed #23503 -- Fixed renaming of model with self-referential m2m field.Sergey Fedoseev
Backport of 463952d940 from master
2014-09-23[1.7.x] Fixed #23065 -- Quoted constraint names in SQL generated by migrations.Sergey Fedoseev
Backport of 83cd18633f from master
2014-09-19[1.7.x] Fixed some flake8 errors.Tim Graham
Backport of 9d30412a5a from master
2014-09-16[1.7.x] Fixed #23492 -- Restored F.__deepcopy__.Baptiste Mispelon
This reverts commit 3a66035107a640c4905f0a5f247a45f32dbe16d7. A regression test was also added. Backport of d63ac5b595694c44ed8a64d782a177d2f92125d9 from master.
2014-09-15[1.7.x] Fixed #23474 -- Prevented migrating backwards from unapplying the ↵valtron
wrong migrations. Backport of abcf28a076 from master
2014-09-12[1.7.x] Fixed #23483 -- Prevented ImproperlyConfigured with dotted app namesCarl Meyer
Made sure the app labels stay unique for the AppConfigStubs, so migrations wouldn't fail if two dotted app names has the same last part (e.g. django.contrib.auth and vendor.auth) Backport of 5e32605ce9 from master.
2014-09-10[1.7.x] Corrected grammar in migrations error message.Markus Bertheau
Backport of 61f56e239f from master
2014-09-10[1.7.x] Fixed #23452 -- Prevented infinite migrations for empty ↵Markus Holtermann
unique/index_together. Thanks fwkroon for the report. Backport of 6d5958c7a3 from master
2014-09-09[1.7.x] Fixed #22920 -- Avoid masking some exceptions.Aymeric Augustin
If loading an application trigger an ImportError, the details of that error were lost in some cases. Thanks Ben Davis for the report. Backport of b161c01 from master
2014-09-09[1.7.x] Fixed #11775 -- Made ABSOLUTE_URL_OVERRIDES work with models that ↵Tim Graham
don't define get_absolute_url(). Thanks jukvalim for the report and initial patch, and Preston Timmons for review. Backport of c32bc1a7a7 from master
2014-09-08[1.7.x] Fixed #23451 -- Fixed typo in inlineformset_factory() error message.Petras Zdanavičius
Backport of f7eee04ebe from master
2014-09-08[1.7.x] Fixed broken test from da160d440f; refs #23418.Markus Holtermann
Backport of 16548cfc7c from master
2014-09-08[1.7.x] Fixed #23418 -- Fail when migration deconstruct produces invalid importMarkus Holtermann
Backport of d28b5f13b3 from master
2014-09-08[1.7.x] Fixed #23431 -- Allowed inline and hidden references to admin fields.Simon Charette
This fixes a regression introduced by the 53ff096982 security fix. Thanks to @a1tus for the report and Tim for the review. refs #23329. Backport of 342ccbddc1 from master
2014-09-08[1.7.x] Fixed #22951 -- Checked for types during deep_deconstruct migration ↵Andrew Pinkham
serializ Thanks Sam Hartsfield for the report. Backport of 4680d25df2 from master
2014-09-06[1.7.x] Fixed #23416 -- Make sure DatabaseCreation respects checks.Marc Tamlyn
Migrations respected Field.db_parameters()['check'], but DatabaseCreation was still using just Field.db_type(). Backport of 14c8456 from master
2014-09-05[1.7.x] Fix Python 3 incompatabilityAndrew Godwin
2014-09-05[1.7.x] switch out recursive dfs for stack based approach, to avoid possibly ↵Ben Reilly
hitting the recursion limit
2014-09-05[1.7.x] cater for running tests from another directory than tests - applying ↵Nikolaus Schlemm
existing pattern to newly added test_testcase_ordering as well Backport of d11e836203 from master
2014-09-02[1.7.x] Fixed #22918 -- Fixed SeparateDatabaseAndState crashDave Hall
Backport of e03b7940e5 from master
2014-08-30[1.7.x] Added a missing word in a skip messageAlex Gaynor
Backport of 8b6cb9d0dd from master
2014-08-30[1.7.x] Fixed #22820 -- Treated int and long types alike in lazy_numberClaude Paroz
Thanks kwist for the report and the initial patch. Backport of 5021421799 from master.
2014-08-30[1.7.x] Fixed #23370 -- defer() + select_related() crashed with inherited ↵Akis Kesoglou
models. Backport of 6613ea6e3f from master
2014-08-28[1.7.x] Fixed an Oracle test failure introduced by 1e404180c1.Simon Charette
Backport of e98c5513cb from master