summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2018-12-15Fixed #30023 -- Prevented SQLite schema alterations while foreign key checks ↵Simon Charette
are enabled. Prior to this change foreign key constraint references could be left pointing at tables dropped during operations simulating unsupported table alterations because of an unexpected failure to disable foreign key constraint checks. SQLite3 does not allow disabling such checks while in a transaction so they must be disabled beforehand. Thanks ezaquarii for the report and Carlton and Tim for the review.
2018-12-10Moved choices inside of test models per coding style.Manan
2018-12-06Fixed #28766 -- Added ResolverMatch.route.Benjamin Wohlwend
Co-Authored-By: Xavier Fernandez <xavier.fernandez@polyconseil.fr>
2018-12-06Fixed #29932 -- Fixed combining compound queries with sub-compound queries ↵Mariusz Felisiak
on SQLite and Oracle.
2018-12-06Fixed #29986 -- Added .format() support to ngettext_lazy strings.Patrick Arminio
2018-12-06Fixed #30011 -- Fixed queries that reuse filtered aggregates.Simon Charette
Thanks Taqi Abbas and Raphael Kimmig for the report.
2018-12-06Bumped mysqlclient requirement to >= 1.3.13.Tim Graham
There are test failures with older versions.
2018-12-05Reverted "Fixed #25251 -- Made data migrations available in ↵Tim Graham
TransactionTestCase when using --keepdb." This reverts commits b3b1d3d45fc066367f4fcacf0b06f72fcd00a9c6 and 9fa0d3786febf36c87ef059a39115aa1ce3326e8 due to reverse build failures for which a solution isn't forthcoming.
2018-12-05Refs #30013 -- Fixed SchemaEditor.quote_value() test for mysqlclient 1.3.14+.Tim Graham
2018-12-04Tested exception messages in generic_views tests.François Freitag
2018-12-03Fixed #29930 -- Allowed editing in admin with view-only inlines.Carlton Gibson
Co-authored-by: Tim Graham <timograham@gmail.com>
2018-11-30Added test for ResolverMatch.__repr__().Xavier Fernandez
2018-11-30Removed urlpatterns_reverse dependency in urlpatterns tests.Xavier Fernandez
2018-11-30Fixed #29987 -- Detected unmanaged model deletions.Tim Fiedler
2018-11-30Fixed #29997 -- Allowed combining SearchQuerys with different configs.Jaap Roes
Seems to be a needless restriction in 978a00e39fee25cfa99065285b0de88366710fad.
2018-11-29Used assertCountEqual() in contrib.postgres.search tests.Tim Graham
2018-11-29Refs #25251 -- Filtered out skipped tests when processing the test suite to ↵romgar
set _next_serialized_rollback.
2018-11-28Fixed #29929 -- Fixed admin view-only change form crash when using ↵Basil Dubyk
ModelAdmin.prepopulated_fields.
2018-11-27Fixed #28385 -- Fixed deserializing natural keys when primary key has a ↵dmytryi.striletskyi
default value. Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com>
2018-11-27Switched TestCase to SimpleTestCase in GIS tests.Tim Graham
2018-11-27Made reused RequestFactory instances class attributes.Simon Charette
2018-11-27Adjusted code style of a few test data setup methods.Simon Charette
Thanks Mariusz for suggesting it.
2018-11-27Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette
2018-11-27Switched TestCase to SimpleTestCase where possible in Django's tests.Tim Graham
2018-11-26Refs #29722 -- Added introspection of materialized views for Oracle.Mariusz Felisiak
Thanks Tim Graham for the review.
2018-11-26Removed empty setUp() in admindocs tests.Simon Charette
2018-11-26Used SimpleTestCase for template library tests.Simon Charette
2018-11-23Fixed #29966 -- Added tests for BaseHandler's "The view didn't return an ↵Hasan Ramezani
HttpResponse object" error.
2018-11-23Refs #23801 -- Made integer field max_length warning show correct field type.Nick Pope
2018-11-23Fixed #29978 -- Catched GDALException in GeometryField.to_pythonClaude Paroz
2018-11-21Fixed #29974 -- Fixed non-truthy primary key values for QuerySet.bulk_update().Tom Forbes
2018-11-21Removed unused views in middleware_exceptions tests.Tim Graham
Unused since d334f46b7a080fd3eb720141c19b37b10704a352.
2018-11-21Fixed #29949 -- Refactored db introspection identifier converters.Mariusz Felisiak
Removed DatabaseIntrospection.table_name_converter()/column_name_converter() and use instead DatabaseIntrospection.identifier_converter(). Removed DatabaseFeatures.uppercases_column_names. Thanks Tim Graham for the initial patch and review and Simon Charette for the review.
2018-11-20Fixed #29953 -- Added CSS class to column headers in tabular inlines.redodo
The class name is the same as one given to the fields in the change list.
2018-11-20Fixed #29282 -- Prevented some admin checks from crashing with TypeError.Sanyam Khurana
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2018-11-20Tested a middleware's process_template_response() returning None.Tim Graham
2018-11-19Fixed #29961 -- Made RelatedFieldWidgetWrapper hide related item links if ↵redodo
wrapping a hidden widget.
2018-11-19Refs #29722 -- Added introspection of partitions for PostgreSQL.Nick Pope
2018-11-19Fixed #29478 -- Added support for mangled names to cached_property.Thomas Grainger
Co-Authored-By: Sergey Fedoseev <fedoseev.sergey@gmail.com>
2018-11-19Fixed cached_properties that share a common property.Sergey Fedoseev
The aliases aren't cached and thus the old usage will be an error after refs #29478.
2018-11-17Added BaseDatabaseSchemaEditor._effective_default() to allow testing without ↵Tim Graham
a connection.
2018-11-17Fixed #29505 -- Removed SchemaEditor's calling of callable defaults.Tim Graham
Thanks Eugene Pakhomov for the suggested fix.
2018-11-17Added test for Model._check_column_name_clashes().Hasan Ramezani
2018-11-16Fixed typo in tests/admin_views/tests.py.Tim Graham
2018-11-15Fixed #29952 -- Lowercased all passwords in contrib.auth's ↵Mathew Payne
auth/common-passwords.txt.gz.
2018-11-15Added a test for a lookup in Model.refresh_from_db(fields=[...]).Hasan Ramezani
2018-11-15Fixed #17930 -- Allowed ORing (|) with sliced QuerySets.Ian Foote
2018-11-14Fixed #25884 -- Fixed migrate --run-syncdb when specifying an app label.Sarah Guermond
2018-11-14Fixed #29835 -- Made RelatedFieldListFilter respect ModelAdmin.ordering.Hasan Ramezani
2018-11-14Fixed #17210 -- Made NullBooleanSelect use unknown/true/false as query data.Basil Dubyk