summaryrefslogtreecommitdiff
path: root/tests/admin_custom_urls
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #33028 -- Used ModelAdmin's opts attribute instead of model._meta.Marcelo Galigniana2022-06-221-1/+1
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-073-43/+79
|
* Fixed #32771 -- Used IS_POPUP_VAR constant instead of hard-coded value.David Sanders2021-05-201-1/+2
|
* Updated test URL patterns to use path() and re_path().Tim Graham2018-12-312-4/+4
|
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-3/+5
|
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-181-2/+0
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
|
* Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za2016-11-101-13/+6
|
* Fixed E128 flake8 warnings in tests/.Tim Graham2016-04-081-17/+13
|
* Fixed #26175 -- Removed SHA1 password hashes in tests.Tim Graham2016-02-061-12/+3
|
* Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek2015-12-312-2/+2
| | | | Thanks to Tim Graham for the review.
* Fixed #25165 -- Removed inline JavaScript from the admin.Thomas Grainger2015-12-051-1/+0
| | | | | | | This allows setting a Content-Security-Policy HTTP header (refs #15727). Special thanks to blighj, the original author of this patch.
* Fixed #25780 -- Removed redundant status code assertions from testsAlex Morozov2015-11-211-4/+0
|
* Fixed #21927 -- Made application and instance namespaces more distinct.Marten Kenbeek2015-06-081-2/+2
| | | | | | 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.
* Updated tests to stop leaking models in shared AdminSite.Riccardo Magliocchetti2015-04-153-16/+18
| | | | | | This would break upcoming changes and AdminSite assumptions about having an app_config for each application that has registered models.
* Converted test fixtures to setUpTestData methodsJosh Smeaton2015-03-053-74/+25
|
* Fixed #15779 -- Allowed 'add' primary key in admin editionClaude Paroz2015-02-141-5/+0
| | | | | Thanks Marwan Alsabbagh for the report, and Simon Charette and Tim Graham for the reviews.
* Replaced hardcoded URLs in admin_* testsClaude Paroz2015-02-081-3/+5
| | | | | Refs #15779. This will allow easier admin URL changes, when needed. Thanks Simon Charette for the review.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-062-2/+1
|
* Fixed #24149 -- Normalized tuple settings to lists.darkryder2015-02-031-2/+2
|
* Fixed typos in code comments.Adam Taylor2015-01-201-1/+1
|
* Fixed #13165 -- Added edit and delete links to admin foreign key widgets.Simon Charette2015-01-101-1/+1
| | | | | Thanks to Collin Anderson for the review and suggestions and Tim for the final review.
* Fixed #23995 -- Removed unnecessary calls to self.client.logout() in tests.Diego Guimarães2014-12-161-6/+0
|
* Fixed #22909 -- Removed camelCasing in some tests.Tim Graham2014-07-071-4/+4
| | | | Thanks brylie.
* Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi2014-04-061-4/+4
|
* Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham2014-04-032-7/+7
| | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
* Fixed #21774 -- Isolate all test urls from eachother.Marc Tamlyn2014-01-141-4/+6
| | | | | | | | | | | | | This (nearly) completes the work to isolate all the test modules from each other. This is now more important as importing models from another module will case PendingDeprecationWarnings if those modules are not in INSTALLED_APPS. The only remaining obvious dependencies are: - d.c.auth depends on d.c.admin (because of the is_admin flag to some views), but this is not so important and d.c.admin is in always_installed_apps - test_client_regress depends on test_client. Eventually these should become a single module, as the split serves no useful purpose.
* Imported override_settings from its new location.Aymeric Augustin2013-12-231-2/+1
|
* PEP8 cleanupJason Myers2013-11-021-0/+2
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed #21302 -- Fixed unused imports and import *.Tim Graham2013-11-021-1/+0
|
* Fixed #21266 -- Fixed E201,E202 pep8 warnings.Larry O'Neill2013-10-141-3/+3
|
* Whitespace cleanup.Tim Graham2013-10-102-18/+17
| | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
* Fixed #17627 -- Renamed util.py files to utils.pyTim Graham2013-09-161-1/+1
| | | | | Thanks PaulM for the suggestion and Luke Granger-Brown and Wiktor Kołodziej for the initial patch.
* Removed unneeded imports in tests's __init__.py and unified them.Florian Apolloner2013-09-091-1/+0
|
* Removed most of absolute_import importsClaude Paroz2013-07-291-1/+1
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-266-0/+294