summaryrefslogtreecommitdiff
path: root/tests/admin_views
AgeCommit message (Collapse)Author
2015-03-23[1.8.x] Added test for LogEntry.get_edited_object(); refs #24244.Varun Sharma
Backport of 74f8110e74927c231bfcd106fa28bf6e6dd034e6 from master
2015-03-09[1.8.x] Refs #24461 -- Added test/release notes for XSS issue in ↵Baptiste Mispelon
ModelAdmin.readonly_fields This issue was fixed by refs #24464.
2015-03-04[1.8.x] Fixed #24426 -- Displayed admin actions panel when ↵Tim Graham
show_full_result_count=False. Backport of 36a17be9f3cf6081f7e6f83fcfeae3d09ce8a72b from master
2015-02-23[1.8.x] Normalized usage of the tempfile module.Aymeric Augustin
Specifically stopped using the dir argument. Backport of a8fe12417f778a76837f8e4f8503779f52a396ba from master
2015-02-23[1.8.x] Guaranteed removal of temporary files during tests.Aymeric Augustin
Dropped the DJANGO_TEST_TEMP_DIR environment variable. Before this change, proper removal depended on the developer passing dir=os.environ['DJANGO_TEST_TMP_DIR'] to tempfile functions. Backport of 934400759de817471ff37d736686201d7ae34e82 from master
2015-02-12[1.8.x] Fixed #24333 -- Fixed admin history view crash with non-integer slug.Tim Graham
Backport of d64baaef3b95abe9ae5d07317c9bf4df02cb8592 from master
2015-02-09[1.8.x] Sorted imports with isort; refs #23860.Tim Graham
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
2015-02-08[1.8.x] Replaced hardcoded URLs in admin_* testsClaude Paroz
Refs #15779. This will allow easier admin URL changes, when needed. Thanks Simon Charette for the review. Backport of 32e6a7d3a57b2287d55e8b8efa4e8cb7643b1720 from master
2015-01-20[1.8.x] Fixed typos in code comments.Adam Taylor
Backport of 039465a6a7a18f48ea77ceadb6949990c0ec92e1 from master
2015-01-16Fixed #24099 -- Removed contenttype.name deprecated fieldClaude Paroz
This finsishes the work started on #16803. Thanks Simon Charette, Tim Graham and Collin Anderson for the reviews.
2015-01-12Fixed #24124 (again) -- Updated tests with new default context_processors.Aymeric Augustin
Thanks Collin for the review.
2015-01-10Fixed #13165 -- Added edit and delete links to admin foreign key widgets.Simon Charette
Thanks to Collin Anderson for the review and suggestions and Tim for the final review.
2015-01-08Fixed #24101 -- Fixed flaky admin_views selenium tests; refs #7361.Tim Graham
2014-12-31Fixed #22295 -- Replaced permission check for displaying admin user-toolsThomas Tanner
2014-12-28Deprecated TEMPLATE_CONTEXT_PROCESSORS.Aymeric Augustin
2014-12-28Deprecated TEMPLATE_DIRS.Aymeric Augustin
2014-12-28Moved context_processors from django.core to django.template.Aymeric Augustin
2014-12-16Fixed #23995 -- Removed unnecessary calls to self.client.logout() in tests.Diego Guimarães
2014-12-15Refs #23947 -- Fixed admin_views test execution order dependency.Diego Guimarães
2014-12-12Fixed #23857 -- Fixed admin crash with "save as new" and deleting inline.Tim Graham
Thanks amarandon for the report.
2014-12-12Fixed template tag braces spacing.Kevin Marsh
2014-12-02Fixed #23934 -- Fixed regression in admin views obj parameter.Kamil Braun
2014-12-01Fixed admin_views test from refs #7361 (name was too long).Tim Graham
2014-11-29Fixed #17890 -- Added an extra_context parameter to AdminSite.password_change().Berker Peksag
2014-11-27Fixed cache state dependence for assertNumQueries in ↵wrwrwr
test_group_permission_performance. Refs #20432 and #23746.
2014-11-25Fixed #23915 -- Made sure m2m fields through non-pk to_field are allowed in ↵Simon Charette
the admin. refs #23754, #23862
2014-11-25Fixed #23754 -- Always allowed reference to the primary key in the adminSimon Charette
This change allows dynamically created inlines "Add related" button to work correcly as long as their associated foreign key is pointing to the primary key of the related model. Thanks to amorce for the report, Julien Phalip for the initial patch, and Collin Anderson for the review.
2014-11-25Fixed #23898 -- Added missing context to admin's deleted_selected view.Redouane Zait
Thanks Redouane Zait for the report.
2014-11-03Fixed typos using https://github.com/vlajos/misspell_fixerVeres Lajos
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
2014-10-20Moved a test case that caused deprecation warnings.Loic Bistuer
`cache.tests.TestEtagWithAdmin` loaded views from the `admin_views` test package. This is problematic because when the `cache` test package is run in isolation, `admin_views` isn't in INSTALLED_APPS, and therefore loading its models isn't allowed since the app loading refactor.
2014-10-19Fixed #21196 -- Removed index on test field causing MySQL specific warning.Thomas Chaumeny
2014-10-06Fixed #23604 -- Allowed related m2m fields to be references in the admin.Emmanuelle Delescolle
Thanks Simon Charette for review.
2014-09-30Fixed #7361 -- Added cancel link to admin delete views.Nick Sandford
2014-09-26Fixed #8408 -- Added ModelAdmin.show_full_result_count to avoid COUNT() query.Thomas Chaumeny
Thanks lidaobing for the suggestion.
2014-09-08Fixed #23431 -- Allowed inline and hidden references to admin fields.Simon Charette
This fixes a regression introduced by the 53ff096982 security fix. Thanks to @a1tus for the report and Tim for the review. refs #23329.
2014-08-27Fixed #23329 -- Allowed inherited and m2m fields to be referenced in the admin.Simon Charette
Thanks to Trac alias Markush2010 and ross for the detailed reports.
2014-08-27Fixed #13749 -- Added link from admin site to front-end site.areski
Thanks romankrv for the suggestion.
2014-08-20Prevented data leakage in contrib.admin via query string manipulation.Simon Charette
This is a security fix. Disclosure following shortly.
2014-08-14Fixed #20133 -- Added summary to admin deletion confirmation pages.areski
Thanks jonash for the suggestion and initial patch.
2014-07-24Removed usage of deprecated switch_to_*() selenium methods.Tim Graham
2014-07-14Fixed #22994 -- regression with generic FK + admin list_viewAnssi Kääriäinen
The reason for the regression was that the GenericForeignKey field isn't something meta.get_field_by_name() should return. The reason is that a couple of places in Django expects get_field_by_name() to work this way. It could make sense to return GFKs from get_field_by_name(), but that should likely be done as part of meta refactoring or virtual fields refactoring patches. Thanks to glicerinu@gmail.com for the report and to Tim for working on the issue.
2014-07-12Fixed #22939 -- Delayed admin_static backend detectionClaude Paroz
Thanks generalov for the report.
2014-07-09Fixed #22223 -- Prevented over-escaping URLs in reverse()Claude Paroz
And follow more closely the class of characters defined in the RFC 3986. Thanks Erik van Zijst for the report and the initial patch, and Tim Graham for the review.
2014-07-07Fixed #22909 -- Removed camelCasing in some tests.Tim Graham
Thanks brylie.
2014-06-26Fixed #22894 -- Made admin add related/raw ID fields widgets customizable.Riccardo Magliocchetti
Decoupled behavior and style from the RelatedFieldWidgetWrapper and ForeignKeyRawIdWidget.
2014-06-21Removed some apps from ALWAYS_INSTALLED_APPSClaude Paroz
2014-06-13Fixed #6327 -- Added has_module_permission method to BaseModelAdminMaxime Turcotte
Thanks chrj for the suggestion.
2014-06-11Fixed #22653 -- Added some database feature flags to tests.Tim Graham
Thanks Rahul Priyadarshi.
2014-06-09Removed unused import.Tim Graham