summaryrefslogtreecommitdiff
path: root/tests/admin_changelist
AgeCommit message (Collapse)Author
2019-11-26[3.0.x] Fixed #31031 -- Fixed data loss in admin changelist view when ↵Baptiste Mispelon
formset's prefix contains regex special chars. Regression in b18650a2634890aa758abae2f33875daa13a9ba3. Backport of 52936efacec4df05df2d9872c09c3332335bf21b from master
2019-08-22Fixed #30064 -- Added form to validate admin search fields query input.Carlton Gibson
2019-06-28Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne
Thanks Claude Paroz for assistance with translations.
2019-01-17Refs #17198 -- Detected existing total ordering in admin changelist.Simon Charette
Appending pk is not necessary when a subset of the ordering expressions is contained in a non-nullable unique contraint. Related field ordering through lookups and related ordering introspection is omitted for simplicitly purpose.
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-11-27Made reused RequestFactory instances class attributes.Simon Charette
2018-11-27Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette
2018-08-21Fixed #29658 -- Registered model lookups in tests with a context manager.Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
2018-08-01Fixed typos in comments and docs.luz.paz
2018-06-14Fixed #29428 -- Fixed admin changelist crash when using a query expression ↵Tim Graham
without asc()/desc() in the ordering.
2018-06-01Fixed #28462 -- Decreased memory usage with ModelAdmin.list_editable.Adam Donaghy
Regression in 917cc288a38f3c114a5440f0749b7e5e1086eb36.
2018-05-16Fixed #8936 -- Added a view permission and a read-only admin.olivierdalang
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz> Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
2018-03-26Increased test coverage for {% get_admin_log %} and {% static %}.Hasan Ramezani
2018-03-21Refs #23919 -- Removed obsolete comments about u'' prefixes.Tim Graham
2018-02-28Fixed #27728 -- Allowed overriding admin templatetags templates.Raffaele Salmaso
2018-02-14Fixed #28933 -- Improved the efficiency of ModelAdmin.date_hierarchy queries.Haki Benita
2018-01-21Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne
2017-12-27Fixed #28958 -- Fixed admin changelist crash when using a query expression ↵Mariusz Felisiak
in the page's ordering. Thanks Tim Graham for the review.
2017-11-18Fixed #26184 -- Allowed using any lookups in ModelAdmin.search_fields.Krzysztof Nazarewski
Thanks Krzysztof Nazarewski for the initial patch.
2017-08-22Fixed #28496 -- Added ModelAdmin.get_changelist_instance().Simon Meers
2017-06-09Refs #27953 -- Removed hardcoded uses of Model.__str__() in tests.Collin Anderson
2017-03-17Replaced type-specific assertions with assertEqual().Tim Graham
Python docs say, "it's usually not necessary to invoke these methods directly."
2017-03-15Fixed #27897 -- Fixed crash with 'pk' in ModelAdmin.search_filters.Josh Schneier
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-21Refs #23919 -- Removed misc references to Python 2.Tim Graham
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #25135 -- Removed support for the contrib.admin allow_tags attribute.Tim Graham
Per deprecation timeline.
2016-12-06Fixed #18729 -- Made admin changelist not use distinct() if a list_filter ↵nmhung89
doesn't require it.
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-03-15Fixed #25364 -- Added generic way to test on all browsers supported by selenium.Akshesh
Browser names should be passed as a comma separated list to the --selenium flag. Thanks Tim Graham, Simon Charette and Moritz Sichert for review and discussion.
2016-02-06Fixed #26175 -- Removed SHA1 password hashes in tests.Tim Graham
2016-02-01Fixed #11313 -- Made ModelAdmin.list_editable more resilient to concurrent ↵bphillips
edits. Allowed admin POSTed bulk-edit data to use modeladmin.get_queryset() so that the ids in the POST data have a chance to match up even if the objects on the current page changed based on the ordering.
2016-01-28Refs #19536 -- Tweaked test assertion to avoid collision with CSRF token.Tim Graham
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-12-29Fixed #19536 -- Included object-tools when ModelAdmin.has_add_permission() ↵Nick Sandford
is False.
2015-12-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
2015-10-10Fixed #24687 -- Added select_related() validation for nested non-relational ↵Tim Graham
fields. The removed test was added in the original select_related() validation patch (45d4e43d2d25b902e3821b612209afa951a8bcb8), but there doesn't seem to be any reason for it. Thanks Claude Paroz for help and review.
2015-09-25Removed redundancy in admin_changelist tests.Tim Graham
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-09-08Fixed #25135 -- Deprecated the contrib.admin allow_tags attribute.Ola Sitarska
Thanks Jaap Roes for the idea and initial patch.
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-06-08Fixed #21927 -- Made application and instance namespaces more distinct.Marten Kenbeek
Made URL application namespaces be set in the included URLconf and instance namespaces in the call to include(). Deprecated other ways to set application and instance namespaces.
2015-06-04Fixed #24474 -- Allowed configuring the admin's empty change list value.Loek van Gent
2015-05-28Fixed #24851 -- Fixed crash with reverse one-to-one relation in ↵Tim Graham
ModelAdmin.list_display Forwardport of 2456276b0250c9f21d580ca6c3f3c86345ad6370 from stable/1.8.x
2015-05-14Refs #24553 -- Isolated admin_* tests.Riccardo Magliocchetti
This fixes a regression with runtests.py --reverse after bd53db5eab05099ae371348529c6428e0da95c6a We need to avoid leaking model registration in the default AdminSite.