summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2016-12-01[1.10.x] Fixed #27558 -- Prevented redundant index on InnoDB ForeignKey.Ed Morley
The MySQL backend overrides _field_should_be_indexed() so that it skips index creation for ForeignKeys when using InnoDB.
2016-11-29[1.10.x] Fixed #27402 -- Fixed incorrect LocaleMiddleware redirects with ↵Krzysztof Urbaniak
prefix_default_language=False. Backport of b8a815e9dfea89034ede7ff786551f89af84a31b from master
2016-11-29[1.10.x] Fixed #27544 -- Fixed QuerySet.update(dt=F('dt') + timedelta) crash ↵Andrew Nester
on SQLite. Backport of ade52ef71f04e57e217585358cb289098260e3ec from master
2016-11-23[1.10.x] Normalized casing of "custom user model".Tim Graham
Backport of 93a081946d92da010c7de62dc58e697c6c33e5d3 from master
2016-11-23[1.10.x] Refs #26677 -- Simplified i18n test cleanups.Ramiro Morales
The fact that we aren't dealing with the Django source tree anymore allows us to drop several tearDown()/addCleanup() calls that were concerned with removing apiece files/dirs/symlinks created by test cases, as we are covered by the removal of the parent temporary tree anyways. Thanks Tim Graham for advice and review. Backport of bb7bb379e8cd91a91336946829519d64e919a1d2 from master
2016-11-23[1.10.x] Fixed #26677 -- Converted some i18n tests to use disposable FS tree.Ramiro Morales
This allows makemessages/compilemessages tests in `test_extraction.py` and `test_compilation.py` to actually run isolated from each other (unaffected by stray FS objects left by cleanup actions failures, debug sessions, etc.) and to take advantage of the parallel tests execution feature like most of the Django test suite. `test_percents.py` gets slightly refactored to not inherit from the new machinery which sets up every test case to copy and run under a temporary tree. Backport of faeeb84edfebecf5a5f40df9ef816e5f1cd457c6 from master
2016-11-17[1.10.x] Fixed #27482 -- Doc'd an example of Case() in QuerySet.filter().Jonatas CD
Backport of b28c6ca7631e13ea29490bf51a367ab10198c74c from master
2016-11-15[1.10.x] Fixed #27407 -- Made Model.delete(keep_parents=True) preserve ↵Simon Charette
parent reverse relationships. Thanks Tim for the review. Backport of 31a56e30cfb3c8e1a9373e5abdd12b5b23d5d910 from master
2016-11-09[1.10.x] Fixed #27461 -- Fixed incorrect allow_migrate() arguments in ↵Joseph Kahn
makemigrations. Backport of 373c6c409c310cb61e1e9c9aff4adba379ffd0b4 from master
2016-11-01[1.10.x] Fixed CVE-2016-9014 -- Validated Host header when DEBUG=True.Tim Graham
This is a security fix.
2016-11-01[1.10.x] Fixed #27363 -- Replaced unsafe redirect in SessionMiddleware with ↵Andrew Nester
SuspiciousOperation. Backport of 1ce04bcce0076360623ae164afd3541a5c031af2 from master
2016-10-31[1.10.x] Fixed #27063 -- Prevented i18n_patterns() from using too much of ↵Krzysztof Urbaniak
the URL as the language. Backport of a01d887a3ad9029ed198b6af974534fec46223f9 from master
2016-10-31[1.10.x] Added additional tests for translation's get_language_from_path().Krzysztof Urbaniak
Backport of ee06689878e87e45d3c2402dd5e3bb3ba2a79bcf from master
2016-10-27[1.10.x] Updated "running the tests" to use 'pip install -e'.Tim Graham
Backport of d84ffcc22b2a0dbc0a44a67d56da7e3647e2f87a from master
2016-10-25[1.10.x] Fixed #27385 -- Fixed QuerySet.bulk_create() on PostgreSQL when the ↵David Barragán Merino
number of objects is a multiple plus one of batch_size. Backport of b3bd3aa07c026239dd39d1a37498dfd0a2f09caf from master
2016-10-24[1.10.x] Fixed #27374 -- Made JavaScriptCatalog respect the packages argument.Alvin Lindstam
Backport of 6b5106b1ceec03d945c1104b21feed3e25470fe0 from master
2016-10-13[1.10.x] Fixed #27200 -- Provided makemigration's allow_migrate() with ↵Tim Graham
model_name. Backport of cd09524f27b83c0ca9dabafa81265e8d8abd252a from master
2016-10-11[1.10.x] Fixed nonexistent tmc.edu domain in GeoIP test.Tim Graham
The test was silently skipped. Backport of e1f6eba033abea25cd6b0577bd66c655ec453325 from master
2016-10-04[1.10.x] Fixed #27279 -- Fixed a migration performance regression related to ↵Simon Charette
RenameModel operations. Thanks Trac alias mtomiyoshi for the report, Marten Kenbeek for the initial patch and Tim for the review. Backport of 040bd7c9387cfbf70a543c507b3b9eeb8f2725dc from master
2016-10-04[1.10.x] Fixed #27309 -- Added CallableBool.__hash__().Reto Aebersold
Backport of 3ab55c1a8a58ae6d6791cafbcefaf224d01ff314 from master
2016-10-01[1.10.x] Fixed #27302 -- Fixed ModelAdmin.construct_change_message() changed ↵Claude Paroz
field detection Thanks Ramiro Morales for the report and Tim Graham for the review. Backport of 67eee5e4fa08f4404445ebf4f54b686e68a8530c from master.
2016-10-01[1.10.x] Confirmed support for PostGIS 2.3.Tim Graham
Backport of 79c91070e5797f647347c2f8bdfc4c7a0f835fb3 from master
2016-09-30[1.10.x] Refs #27186 -- Fixed model form default fallback for ↵Tim Graham
CheckboxSelectMultiple. Backport of 87c5e7efebd040aef0f0479ccf86877155bb5cea from master
2016-09-27[1.10.x] Fixed #27053 -- Documented contrib.auth.get_user().Berker Peksag
Backport of f7e91cac689b28fc32ca52cdeac258ec0d58b4fc from master
2016-09-27[1.10.x] Fixed #27271 -- Fixed a crash in runserver logging.Sergey Fursov
Allowed ServerFormatter to handle simple string messages or messages with formatting arguments. The formatter will set the server_time variable on the log record if it's required by the format string but wasn't passed in extra parameters. Backport of 6709ea4ae91b906742506ac0c42a3a272991001f from master
2016-09-22[1.10.x] Fixed #27186 -- Fixed model form default fallback for MultiWidget, ↵Tim Graham
FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget. Thanks Matt Westcott for the review. Backport of 3507d4e773aa9ff2336e7230ba231c4ba6eb568f from master
2016-09-19[1.10.x] Fixed #27238 -- Disabled check_pattern_startswith_slash if ↵Alasdair Nicol
settings.APPEND_SLASH=False. Thanks strycore for the report and timgraham for suggesting the solution. Backport of 911d9f4ed1a39f945769b7198a419850378f9824 from master
2016-09-16[1.10.x] Fixed typo in tests/migrations/test_loader.py.Tim Graham
Backport of 6989b45c8dce0d3c50d1530fd65d388c7fde2a2a from master
2016-09-12[1.10.x] Removed an empty test app.Tim Graham
Backport of 94b838387c2a7f398c9bad7f5faa86ac4aedcade from master
2016-09-09[1.10.x] Normalized spelling of ETag.Tim Graham
Backport of ef021412d5e7eb78c89f0b7cf2ec01bcb959a837 from master
2016-09-07[1.10.x] Fixed #27143 -- Allowed combining SearchQuery with more than one & ↵Nicola Jordan
or | operators. Backport of 978a00e39fee25cfa99065285b0de88366710fad from master
2016-09-01[1.10.x] Fixed #27142, #27110 -- Made makemigrations consistency checks ↵Tim Graham
respect database routers. Partially reverted refs #27054 except for one of the tests as this solution supersedes that one. Thanks Shai Berger for the review. Backport of 098c07a03286b5ed133102733e67a83061647ea0 from master
2016-09-01[1.10.x] Clarified URL regex check message with respect to include().Riccardo Magliocchetti
Backport of 7ed8b98f42cd3a9fa530bbb764d3d79230e0a7a7 from master
2016-09-01[1.10.x] Refs #27039 -- Fixed regression with field defaults in prefixed forms.Alex Hill
Backport of d9c083cfee853272ded14c6c87623e910c9e81c4 from master
2016-08-31[1.10.x] Fixed #27154 -- Allowed comparing CallableBool with bitwise or.Olexander Yermakov
Thanks Tim for the review. Backport of b7fb608142a0be568bc5dce952de5e6aefc2488c from master
2016-08-29[1.10.x] Fixed #19914 -- Fixed test failures with pylibmc.Ed Morley
Backport of 674e3fe13e5156344bfafbea59018b8837eb3044 from master
2016-08-29[1.10.x] Fixed #27132 -- Allowed testing MemcachedCache and PyLibMCCache ↵Ed Morley
during the same test run. Backport of 047c1d48a613cc2a16f078a9094cc799f06e6b0c from master
2016-08-29[1.10.x] Refs #27132 -- Added pylibmc to test requirements.Ed Morley
Backport of 5d978c46216df53884fbca590a9abe660a739774 from master
2016-08-29[1.10.x] Refs #19914 -- Split the test_invalid_keys cache test into two.Ed Morley
The first half of the test fails when using pylibmc (so will need to be skipped). Backport of cfd1f93d55d3b9317bdf26b426fe21d935ab3399 from master
2016-08-29[1.10.x] Fixed #27124 -- Excluded cull-related cache configs from memcached ↵Ed Morley
tests. Since the `cull` and `zero_cull` test cache configs set `MAX_ENTRIES` and `CULL_FREQUENCY` in `OPTIONS`, which are only intended for use with the locmem, filesystem, and database backends. This prevents test failures once refs #20892 is fixed. Backport of 606a303856afee684563f9349c2a55578854f1ba from master
2016-08-24[1.10.x] Fixed #27039 -- Fixed empty data fallback to model field default in ↵Tim Graham
model forms. Backport of 4bc6b939944183533ae74791d21282e613f63a96 from master
2016-08-24[1.10.x] Fixed #27111 -- Fixed KeyError if USERNAME_FIELD isn't in ↵Berker Peksag
UserCreationForm.fields. Backport of 3c18f8a3d2f61669493f9ff2015ddc027eada3d6 from master
2016-08-24[1.10.x] Fixed #27100 -- Included already applied migration changes in the ↵Simon Charette
pre-migrate state. Refs #24100. Thanks Tim for the review. Backport of d5c4ea524679a787fe11c927448e44e95646096b from master
2016-08-24[1.10.x] Fixed #27044 -- Included already applied migration changes in the ↵Simon Charette
post-migrate state when the execution plan is empty. Refs #24100. Thanks tkhyn for the report and Tim for the review. Backport of d1757d8df486b689172d2584ded52fad916bcc33 from master
2016-08-23[1.10.x] Fixed #27089 -- Added database alias to ↵Tim Graham
InconsistentMigrationHistory message. Backport of ad25fe73506d80ffcaac135ad0a8d09552b70d70 from master
2016-08-23[1.10.x] Fixed #26998 -- Reverted some admin checks from checking ↵Collin Anderson
field.many_to_many back to isinstance(field, models.ManyToManyField). This partially reverts 983c158da7723eb00a376bd31db76709da4d0260 Backport of 384f89f8f843953ac11cf211f85291b5c14baeb9 from master
2016-08-20[1.10.x] Fixed #27018 -- Fixed admindocs crash with a view in a class.Helen Sherwood-Taylor
Generated correct admindocs URLs on Python 3. URLs generate 404s on Python 2, as in older versions of Django. Backport of bc1e2d8e8edde6cc7d2657c68242a13ee65a15b8 from master
2016-08-19[1.10.x] Fixed #27073 -- Removed duplicated managers in `Model._meta.managers`.Loïc Bistuer
Backport of d4eefc7e2af0d93283ed1c03e0af0a482982b6f0 from master
2016-08-18[1.10.x] Fixed #27054 -- Fixed makemigrations crash with a read-only database.Jim Nicholls
Backport of 76ab8851181675a59425f9637bdbf3f2de95f6f1 from master
2016-08-17[1.10.x] Refs #26983 -- Added test for isnull lookup to CharField with ↵Chris Lamb
primary_key=True. Backport of 97513269d73520d10722bbd10404be6ac4d48d07 from master