summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-01-16Fixed #30044 -- Raised a FieldError on inherited field update attempts.Simon Charette
2019-01-16Fixed #20147 -- Added HttpRequest.headers.Santiago Basulto
2019-01-16Removed unnecessary transaction wrapping in expressions test.Simon Charette
2019-01-16Fixed #11154, #22270 -- Made proxy model permissions use correct content type.Arthur Rio
Co-Authored-By: Simon Charette <charette.s@gmail.com> Co-Authored-By: Antoine Catton <acatton@fusionbox.com>
2019-01-15Fixed #9475 -- Allowed RelatedManager.add(), create(), etc. for m2m with a ↵Collin Anderson
through model.
2019-01-15Fixed #30099 -- Fixed invalid SQL when filtering a Subquery by an aggregate.Nasir Hussain
2019-01-14Relaxed assertions to fix GIS test failures on Oracle 18c.Mariusz Felisiak
2019-01-14Refs #28478 -- Prevented database feature based skipping on tests ↵Simon Charette
disallowing queries. Database features may require a connection to be established to determine whether or not they are enabled.
2019-01-14Refs #28478 -- Prevented connection attempts against disallowed databases in ↵Simon Charette
tests. Mocking connect as well as cursor methods makes sure an appropriate error message is surfaced when running a subset of test attempting to access a a disallowed database.
2019-01-14Refs #28643 -- Changed Variance() to use NumericOutputFieldMixin.Nick Pope
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14Refs #28643 -- Changed StdDev() to use NumericOutputFieldMixin.Nick Pope
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14Refs #28643 -- Changed Avg() to use NumericOutputFieldMixin.Nick Pope
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14Fixed #30093 -- Fixed ordering of combined queryset ordered by F expressions.Sergey Fedoseev
2019-01-13Removed unnecessary skipUnlessDBFeature.Simon Charette
None of the tests interact with the database.
2019-01-13Fixed #27685 -- Added watchman support to the autoreloader.Tom Forbes
Removed support for pyinotify (refs #9722).
2019-01-13Refs #28478 -- Prevented connection creation in model_indexes tests.Simon Charette
Entering a SchemaEditor instance creates a connection but it isn't needed for this test.
2019-01-12Fixed #30057 -- Fixed diffsettings ignoring custom configured settings.orlnub123
Regression in 49b679371fe9beddcd23a93b5fdbadea914f37f8.
2019-01-12Refs #28643 -- Added Reverse database function.Nick Pope
Thanks Mariusz Felisiak for Oracle advice and review.
2019-01-12Fixed #30062 -- Added support for unique conditional constraints.Paveł Tyślacki
2019-01-12Added tests for Check/UniqueConstraint.__eq__().Paveł Tyślacki
2019-01-11Fixed #29738 -- Allowed serializing psycopg2 range types in migrations.can
2019-01-11Refs #29738 -- Allowed registering serializers with MigrationWriter.can
2019-01-11Fixed #30097 -- Made 'obj' arg of InlineModelAdmin.has_add_permission() ↵MaximZemskov
optional. Restored backwards compatibility after refs #27991. Regression in be6ca89396c031619947921c81b8795d816e3285.
2019-01-11Moved django.db.migrations.writer.SettingsReference to django.conf.Tim Graham
Reduces the possibility of circular imports.
2019-01-11Refs #23829 -- Made ping_google command/function use https for the sitemap URL.Sanyam Khurana
2019-01-10Fixed #28478 -- Make DiscoverRunner skip creating unused test databases.Simon Charette
SimpleTestCase.databases makes it possible to determine the set of databases required to run the discovered tests.
2019-01-10Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in ↵Simon Charette
favor of databases.
2019-01-10Renamed variables after generalization of constraints.Paveł Tyślacki
Follow up to 8eae094638acf802c8047b341d126d94bc9b45a3.
2019-01-10Refs #28643 -- Added NullIf database function.Mads Jensen
Thanks Nick Pope, Mariusz Felisiak, and Tim Graham for reviews.
2019-01-09Fixed #30037 -- Added request arg to RemoteUserBackend.configure_user().Joshua Cannon
2019-01-09Fixed #28658 -- Added DISTINCT handling to the Aggregate class.Simon Charette
2019-01-09Fixed #30071 -- Fixed error message when a 'default' database isn't provided.Benjy Weinberger
2019-01-09Fixed #30087 -- Tested error handling for empty 'default' database.Benjy Weinberger
2019-01-09Refs #23748 -- Added AutoField introspection for SQLite.Nick Pope
2019-01-03Fixed #30070, CVE-2019-3498 -- Fixed content spoofing possiblity in the ↵Tom Hacohen
default 404 page. Co-Authored-By: Tim Graham <timograham@gmail.com>
2019-01-03Refs #29851 -- Fixed test_subquery_row_range_rank() crash on MariaDB 10.2+.Mariusz Felisiak
Thanks Tom Forbes for the report.
2019-01-02Added __init__.py for db_utils tests.Tim Graham
2019-01-02Used 4 space hanging indent for dictionaries.Tim Graham
Thanks Mariusz Felisiak for auditing.
2019-01-02Pinned Pillow != 5.4.0 in test requirements.Tim Graham
There's a bug that causes a test failure in forms_tests: https://github.com/python-pillow/Pillow/pull/3501/files#r244651761.
2019-01-01Fixed #29981 -- Fixed inline formsets with a OnetoOneField primary key that ↵Patrik Sletmo
uses to_field.
2019-01-01Fixed #30050 -- Fixed InlineModelAdmin.has_change_permission() called with ↵Tim Graham
non-None obj during add. Thanks andreage for the report and suggested fix.
2019-01-01Fixed #30060 -- Moved SQL generation for indexes and constraints to ↵Paveł Tyślacki
SchemaEditor.
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-12-31Updated a test to reflect the fact that "import *" isn't used in URLconfs ↵Tim Graham
anymore (refs #14675).
2018-12-27Followed style guide for model attribute ordering.Matt Wiens
2018-12-27Fixed #29851 -- Fixed crash of annotations with window expressions in Subquery.Mariusz Felisiak
2018-12-27Fixed #30024 -- Made urlencode() and Client raise TypeError when None is ↵Jon Dufresne
passed as data.
2018-12-27Fixed broken links to PyYAML page.CHI Cheng
2018-12-26Fixed #30058 -- Made SMTP EmailBackend.send_messages() return 0 for ↵Denis Stebunov
empty/error cases.
2018-12-26Refs #30033 -- Fixed schema's test_m2m_rename_field_in_target_model test ↵Tim Graham
failure on SQLite < 3.20. Mixing local test models with non-local models resulted in a referential integrity error during tear down since the models are removed in separate schema editor instances which each check constraints. Failure appeared after 7289874adceec46b5367ec3157cdd10c711253a0.