summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2018-08-08Fixed #29623 -- Fixed translation failure of DurationField's "overflow" ↵Tim Graham
error message.
2018-08-08Fixed #29643 -- Fixed crash when combining Q objects with __in lookups and ↵Mariusz Felisiak
lists. Regression in fc6528b25ab1834be1a478b405bf8f7ec5cf860c.
2018-08-07Fixed #29244 -- Prevented Paginator.count() from silencing TypeError and ↵Josh Schneier
AttributeError.
2018-08-07Refs #29244 -- Fixed django.utils.inspect.method_has_no_args() for bound ↵Josh Schneier
methods.
2018-08-07Renamed django.utils.inspect.func_has_no_args() to method_has_no_args().Josh Schneier
2018-08-07Fixed #29648 -- Fixed crash when using subqueries inside datetime truncation ↵Raphael Michel
functions.
2018-08-05Added test for django.core.management.utils.get_random_secret_key().Hasan Ramezani
2018-08-05Fixed #29616 -- Fixed createsuperuser for user models that don't have a ↵Josh Schneier
password field.
2018-08-04Removed unnecessary str() in mail tests.Tim Graham
Unnecessary since their introduction in fa75b2cb512409116b6f1b5229d6f99074d8e452.
2018-08-04Fixed #29628 -- Made createsuperuser validate password against username and ↵Josh Schneier
required fields.
2018-08-03Fixed #28668 -- Allowed QuerySet.bulk_create() to ignore insert conflicts.Tom
2018-08-03Fixed #29198 -- Added migrate --plan option.Calvin DeBoer
2018-08-03Fixed #29613 -- Fixed --keepdb on PostgreSQL if the database exists and the ↵Mariusz Felisiak
user can't create databases. Regression in e776dd2db677d58dcb50aea20d3bb191537df25b. Thanks Tim Graham for the review.
2018-08-02Fixed #29627 -- Fixed QueryDict.urlencode() crash with non-string values.Tim Graham
Regression in 7d96f0c49ab750799860e42716d7105e11de44de.
2018-08-02Fixed #29499 -- Fixed race condition in QuerySet.update_or_create().Michael Sanders
A race condition happened when the object didn't already exist and another process/thread created the object before update_or_create() did and then attempted to update the object, also before update_or_create() saved the object. The update by the other process/thread could be lost.
2018-08-02Refs #27869 -- Added PostgreSQL version check for GinIndex support.Nick Pope
2018-08-02Refs #25809, #28990 -- Added PostgreSQL version check for BrinIndex support.Nick Pope
2018-08-02Fixed #29614 -- Added BTreeIndex to django.contrib.postres.Nick Pope
2018-08-02Fixed #28990 -- Added autosummarize parameter to BrinIndex.Nick Pope
2018-08-02Fixed #28887 -- Added SpGistIndex to django.contrib.postgres.Nick Pope
2018-08-02Fixed #26974 -- Added HashIndex to django.contrib.postgres.Nick Pope
Thanks Akshesh Doshi for the initial implementation.
2018-08-02Refs #29600 -- Updated django.utils.datetime_safe now that Python 2 is ↵Tim Graham
unsupported.
2018-08-02Simplified tests for PostgreSQL indexes.Nick Pope
- Added mixin to make tests more DRY. - Removed redundant equality tests.
2018-08-01Fixed typos in comments and docs.luz.paz
2018-08-01Fixed CVE-2018-14574 -- Fixed open redirect possibility in CommonMiddleware.Andreas Hug
2018-07-31Fixed #29617 -- Fixed Template crash if template_string is lazy.Dražen Odobašić
Regression in 3a148f958dddd97c1379081118c30fbede6b6bc4.
2018-07-30Refs #29548 -- Fixed failing window tests on MariaDB 10.3.Tom Forbes
2018-07-30Fixed #26819 -- Fixed BaseModelFormSet.validate_unique() "unhashable type: ↵Demur Nodia
list" crash.
2018-07-30Fixed nonexistent field reference in test model __str__() method.Demur Nodia
2018-07-30Fixed #29467 -- Made override_settings handle errors in setting_changed ↵Sławek Ehlert
signal receivers.
2018-07-27Moved yesno filter test to its file.Hasan Ramezani
2018-07-27Fixed #28659 -- Fixed LayerMapping crash with null geometry and unique.Melvyn Sopacua
2018-07-27Fixed #29595 -- Allowed using timedelta in migrations questioner.Tim Graham
Refs #29600 -- Removed usage of django.utils.datetime_safe in migrations.
2018-07-27Fixed #28291, #24726 -- Fixed ArrayField with JSONField and RangeFields.vinay karanam
2018-07-26Refs #29600 -- Added test for datetime_safe usage in localize_input().Tim Graham
2018-07-26Refs #29600 -- Added test for datetime_safe usage in ↵Tim Graham
SelectDateWidget.value_from_datadict().
2018-07-25Refs #13091 -- Added test for commit=False idiom with partial ↵Carlton Gibson
unique_together validation.
2018-07-25Refs #29563 -- Fixed SQLCompiler.execute_sql() to respect ↵Andrew Brown
DatabaseFeatures.can_use_chunked_reads.
2018-07-25Refs #24424 -- Added regression tests for MTI-inheritance model removal.Simon Charette
The issue was fixed as a side effect of implementing RemoveField's reduction of DeleteModel to a DeleteModel in ad82900ad94ed4bbad050b9993373dafbe66b610.
2018-07-25Fixed #29569 -- Fixed Cast() with AutoField and BigAutoField.Mariusz Felisiak
2018-07-24Fixed #24336 -- Made django.conf.urls.static() ignore all absolute URLsClaude Paroz
2018-07-23Fixed #29528 -- Made URLValidator reject invalid characters in the username ↵Tim Bell
and password.
2018-07-22Fixed test_migrate_syncdb_deferred_sql_executed_with_schemaeditor() on Oracle.Mariusz Felisiak
2018-07-21Fixed #29582 -- Fixed a crash when using SearchVector with non text-fields.Simon Charette
The PostgreSQL concat() function handles nulls and non-text values better than the || operator.
2018-07-21Fixed #29576 -- Corrected the test client's HTTP_COOKIE header.Thng Kai Yuan
2018-07-20Added tests for migrate logging and error messages.Tim Graham
2018-07-20Fixed #29412 -- Stopped marking slugify() result as HTML safe.Claude Paroz
2018-07-20Fixed #29568 -- Prevented unnecessary UPDATE queries creating child models.François Dupayrat
2018-07-19Fixed #27731 -- Implemented CreateModel/AlterFooOperation reduction.Simon Charette
This should alleviate the side effects of disabling the AlterFooOperation reduction with RemoveField to fix refs #28862 during migration squashing because CreateModel can perform a reduction with RemoveField. Thanks Nick Pope for the review.
2018-07-19Fixed #28862 -- Disabled optimization of AlterFooTogether and RemoveField.Simon Charette
AlterFooTogether operations cannot be swapped with RemoveField operations on the same model as they could be removing the the same field as well. Since AlterFooTogether operations don't track what their previous value was, it's impossible to determine whether or not the optimization is safe so the only way to proceed is to disable the optimization. Thanks Ramiro Morales for the in-depth analysis of the issue. Refs #24828