summaryrefslogtreecommitdiff
path: root/tests/admin_filters
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #1873 -- Handled multi-valued query parameters in admin changelist ↵sarahboyce2023-03-161-0/+94
| | | | filters.
* Refs #1873 -- Added test for IncorrectLookupParameters when list of values ↵sarahboyce2023-03-161-0/+9
| | | | is passed to RelatedFieldListFilter.
* Refs #32539 -- Fixed facet filter tests on Oracle.Mariusz Felisiak2023-03-051-2/+6
| | | Follow up to 868e2fcddae6720d5713924a785339d1665f1bb9.
* Fixed #32539 -- Added toggleable facet filters to ModelAdmin.sarahboyce2023-03-032-3/+222
| | | | | Thanks Carlton Gibson, Simon Willison, David Smith, and Mariusz Felisiak for reviews.
* Fixed various tests on MySQL with MyISAM storage engine.Mariusz Felisiak2022-04-181-26/+24
|
* Relaxed some query ordering assertions in various tests.Mariusz Felisiak2022-04-141-1/+1
| | | It accounts for differences seen on MySQL with MyISAM storage engine.
* Removed redundant QuerySet.all() calls in docs and tests.Nick Pope2022-02-221-2/+2
| | | | Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager.
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-1/+4
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-072-472/+585
|
* Fixed #19721 -- Allowed admin filters to customize the list separator.Shreya Bamne2021-12-081-1/+45
|
* Refs #31369 -- Removed models.NullBooleanField per deprecation timeline.Mariusz Felisiak2021-01-142-61/+4
|
* Fixed #32038 -- Fixed EmptyFieldListFilter crash with GenericRelation.Mariusz Felisiak2020-09-251-0/+26
| | | | Thanks Javier Matos Odut for the report.
* Fixed #31636 -- Made BooleanFieldListFilter respect Field.choices.manav0142020-09-152-6/+69
|
* Fixed #31952 -- Fixed EmptyFieldListFilter crash with reverse relationships.Federico Jaramillo Martínez2020-08-312-2/+51
| | | | Thanks dacotagh for the report.
* Fixed #28991 -- Added EmptyFieldListFilter class in admin.filters.Federico Jaramillo Martínez2020-01-031-2/+102
| | | | | | | Thanks Simon Charette and Carlton Gibson for reviews. Co-Authored-By: Jonas Haag <jonas@lophus.org> Co-Authored-By: Christophe Baldy <christophe.baldy@polyconseil.fr>
* Harmonized Windows checks in tests to a single style.Jon Dufresne2019-11-061-1/+1
|
* Fixed #29919 -- Fixed RelatedOnlyFieldListFilter crash with reverse ↵Dan Moore2019-10-231-0/+37
| | | | relationships.
* Refs #30449 -- Made RelatedOnlyFieldListFilter respect ModelAdmin.ordering.zeyneloz2019-08-151-0/+27
|
* Fixed #30449 -- Fixed RelatedFieldListFilter/RelatedOnlyFieldListFilter to ↵zeyneloz2019-08-151-0/+57
| | | | | | | | respect model's Meta.ordering. Regression in 6d4e5feb79f7eabe8a0c7c4b87f25b1a7f87ca0b. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Used 4 space hanging indent for dictionaries.Tim Graham2019-01-021-6/+12
| | | Thanks Mariusz Felisiak for auditing.
* Made reused RequestFactory instances class attributes.Simon Charette2018-11-271-3/+1
|
* Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette2018-11-271-27/+29
|
* Fixed #29835 -- Made RelatedFieldListFilter respect ModelAdmin.ordering.Hasan Ramezani2018-11-141-0/+37
|
* Fixed #8936 -- Added a view permission and a read-only admin.olivierdalang2018-05-161-1/+56
| | | | | Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz> Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
* Fixed #29227 -- Allowed BooleanField to be null=True.Tim Graham2018-03-202-1/+58
| | | | Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
* Removed unnecessary trailing commas and spaces in various code.Mariusz Felisiak2017-12-281-3/+3
|
* Fixed #28496 -- Added ModelAdmin.get_changelist_instance().Simon Meers2017-08-221-61/+51
|
* Fixed #28202 -- Fixed FieldListFilter.get_queryset() crash on invalid input.Paulo2017-06-061-0/+8
|
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-2/+2
|
* Removed unneeded force_text calls in the test suiteClaude Paroz2017-01-241-35/+34
|
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-181-6/+0
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-182-4/+0
|
* Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za2016-11-101-3/+3
|
* Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne2016-06-161-39/+39
|
* Fixed #26277 -- Added support for null values in ChoicesFieldListFilter.Vincenzo Pandolfo2016-05-122-0/+23
|
* Changed gypsy to manouche in docs and tests.Blake Griffith2016-02-031-10/+10
| | | | | | "Gypsy" is considered a slur by the Romani people whom it refers to. "manouche jazz" is used in place of "gypsy jazz" and is an accepted term for the same genre of music.
* Fixed #23971 -- Added "Has date"/"No date" choices for DateFieldListFilter.rynomster2016-02-021-0/+31
|
* Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as ↵Hasan2016-01-291-7/+6
| | | | appropriate.
* Refs #26022 -- Used context manager version of assertRaises in tests.Hasan2016-01-291-1/+2
|
* Fixed #22810 -- Corrected admin changelist count for list filters that ↵Nick Sandford2015-11-181-0/+31
| | | | filter by default.
* Cleaned up admin_filters' docstrings.Tim Graham2015-11-141-21/+7
|
* Fixed admin_filters test failures when run in reverse.Tim Graham2015-11-141-4/+4
|
* Fixed #25606 -- Added support for "__" lookup in RelatedOnlyFieldListAndrey Kuzmin2015-11-122-0/+27
|
* Fixed #25550 -- Deprecated direct assignment to the reverse side of a ↵Tim Graham2015-10-271-2/+1
| | | | related set.
* Fixed #25562 -- Skipped a time dependent admin_filters test on Windows.Tim Graham2015-10-191-0/+7
|
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-122-12/+51
|
* Fixed #25320 -- Reverted ManyToManyField.null to False for backwards ↵Tim Graham2015-09-011-0/+10
| | | | | | compatibility. Thanks Tom Christie for the report and review.
* Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella2015-07-271-3/+9
| | | | ForeignKey/OneToOneField
* Sorted imports with isort; refs #23860.Tim Graham2015-02-062-6/+10
|
* Fixed #23616 - Fixed generic relations in ModelAdmin.list_filter.Konrad Świat2014-10-102-1/+45
| | | | | Thanks ranjur for reporting bug, timgraham for review, and collinanderson for contributing tips.