Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 2 | -39/+57 |
| | |||||
* | Fixed #32003 -- Added obj argument to has_perm() methods in tests. | Alexander Todorov | 2020-09-14 | 1 | -1/+1 |
| | |||||
* | Made reused RequestFactory instances class attributes. | Simon Charette | 2018-11-27 | 1 | -3/+1 |
| | |||||
* | Switched setUp() to setUpTestData() where possible in Django's tests. | Simon Charette | 2018-11-27 | 1 | -10/+16 |
| | |||||
* | Removed unnecessary trailing commas and spaces in various code. | Mariusz Felisiak | 2017-12-28 | 1 | -1/+1 |
| | |||||
* | Refs #28958 -- Added a test for ModelAdmin with query expressions in ordering. | Mariusz Felisiak | 2017-12-27 | 1 | -0/+8 |
| | | | | This provides additional test coverage but isn't a regression test for the ticket's issue. | ||||
* | Replaced type-specific assertions with assertEqual(). | Tim Graham | 2017-03-17 | 1 | -9/+8 |
| | | | Python docs say, "it's usually not necessary to invoke these methods directly." | ||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -2/+2 |
| | |||||
* | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | 2017-01-19 | 1 | -2/+2 |
| | |||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 2 | -3/+0 |
| | |||||
* | Fixed E305 flake8 warnings. | Ramin Farajpour Cami | 2016-11-14 | 1 | -0/+1 |
| | |||||
* | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | 2016-11-10 | 1 | -1/+1 |
| | |||||
* | Fixed #25985 -- Updated signature of ModelAdmin.formfield_for_* to make ↵ | Tim Graham | 2015-12-29 | 1 | -6/+6 |
| | | | | request a positional argument. | ||||
* | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | 2015-07-27 | 1 | -1/+1 |
| | | | | ForeignKey/OneToOneField | ||||
* | Refs #24553 -- Isolated admin_* tests. | Riccardo Magliocchetti | 2015-05-14 | 1 | -16/+18 |
| | | | | | | | This fixes a regression with runtests.py --reverse after bd53db5eab05099ae371348529c6428e0da95c6a We need to avoid leaking model registration in the default AdminSite. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -3/+5 |
| | |||||
* | Fixed #13163 -- Added ability to show change links on inline objects in admin. | Nick Sandford | 2014-07-31 | 1 | -5/+5 |
| | | | | Thanks DrMeers for the suggestion. | ||||
* | Fixed #6327 -- Added has_module_permission method to BaseModelAdmin | Maxime Turcotte | 2014-06-13 | 1 | -0/+3 |
| | | | | Thanks chrj for the suggestion. | ||||
* | Harmonized some PEP 0263 coding preambles | Claude Paroz | 2014-05-15 | 1 | -1/+1 |
| | |||||
* | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | 2014-03-03 | 1 | -1/+1 |
| | | | | Thanks Piotr Kasprzyk for help with the patch. | ||||
* | Fixed some flake8 issues | Alex Gaynor | 2013-11-22 | 1 | -0/+1 |
| | |||||
* | Fixed #21405 -- Prevented queryset overwrite in BaseModelAdmin | Claude Paroz | 2013-11-21 | 1 | -0/+22 |
| | | | | | Thanks guido@20tab.com for the report and Tim Graham for the analyze. | ||||
* | Made minor optimizations to admin_ordering tests | Claude Paroz | 2013-11-21 | 1 | -36/+30 |
| | |||||
* | PEP8 cleanup | Jason Myers | 2013-11-02 | 2 | -0/+5 |
| | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com> | ||||
* | Fixed all E261 warnings | coagulant | 2013-11-02 | 1 | -1/+1 |
| | |||||
* | Removed most of absolute_import imports | Claude Paroz | 2013-07-29 | 1 | -1/+1 |
| | | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | ||||
* | Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that ↵ | Loic Bistuer | 2013-03-08 | 1 | -10/+10 |
| | | | | return a QuerySet. | ||||
* | Fixed #6585 -- Admin relationship widgets: Respect ordering defined by ↵ | Juan Pedro Fisanotti | 2013-03-04 | 2 | -0/+49 |
| | | | | | | | target model's ModelAdmin. Thanks Gary Wilson for the report and Juan Pedro Fisanotti, Carlos Matías de la Torre for the fix. | ||||
* | Merged regressiontests and modeltests into the test root. | Florian Apolloner | 2013-02-26 | 3 | -0/+141 |