summaryrefslogtreecommitdiff
path: root/tests/admin_ordering
AgeCommit message (Collapse)Author
2018-11-27Made reused RequestFactory instances class attributes.Simon Charette
2018-11-27Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette
2017-12-28Removed unnecessary trailing commas and spaces in various code.Mariusz Felisiak
2017-12-27Refs #28958 -- Added a test for ModelAdmin with query expressions in ordering.Mariusz Felisiak
This provides additional test coverage but isn't a regression test for the ticket's issue.
2017-03-17Replaced type-specific assertions with assertEqual().Tim Graham
Python docs say, "it's usually not necessary to invoke these methods directly."
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2015-12-29Fixed #25985 -- Updated signature of ModelAdmin.formfield_for_* to make ↵Tim Graham
request a positional argument.
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
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.
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-07-31Fixed #13163 -- Added ability to show change links on inline objects in admin.Nick Sandford
Thanks DrMeers for the suggestion.
2014-06-13Fixed #6327 -- Added has_module_permission method to BaseModelAdminMaxime Turcotte
Thanks chrj for the suggestion.
2014-05-15Harmonized some PEP 0263 coding preamblesClaude Paroz
2014-03-03Fixed many typos in comments and docstrings.Rodolfo Carvalho
Thanks Piotr Kasprzyk for help with the patch.
2013-11-22Fixed some flake8 issuesAlex Gaynor
2013-11-21Fixed #21405 -- Prevented queryset overwrite in BaseModelAdminClaude Paroz
Thanks guido@20tab.com for the report and Tim Graham for the analyze.
2013-11-21Made minor optimizations to admin_ordering testsClaude Paroz
2013-11-02PEP8 cleanupJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-02Fixed all E261 warningscoagulant
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-03-08Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that ↵Loic Bistuer
return a QuerySet.
2013-03-04Fixed #6585 -- Admin relationship widgets: Respect ordering defined by ↵Juan Pedro Fisanotti
target model's ModelAdmin. Thanks Gary Wilson for the report and Juan Pedro Fisanotti, Carlos Matías de la Torre for the fix.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner