summaryrefslogtreecommitdiff
path: root/tests/admin_views
AgeCommit message (Collapse)Author
2015-02-23Normalized usage of the tempfile module.Aymeric Augustin
Specifically stopped using the dir argument.
2015-02-23Guaranteed 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.
2015-02-14Fixed #15779 -- Allowed 'add' primary key in admin editionClaude Paroz
Thanks Marwan Alsabbagh for the report, and Simon Charette and Tim Graham for the reviews.
2015-02-12Fixed #24333 -- Fixed admin history view crash with non-integer slug.Tim Graham
2015-02-09Refactored an admin_view test case.Simon Charette
Used setUpTestData, client login/logout and manager's count() method. Thanks to Tim for the review.
2015-02-09Moved a custom admin template test to a more appropriate case.Simon Charette
Thanks to Tim for the review.
2015-02-08Replaced hardcoded URLs in admin_* testsClaude Paroz
Refs #15779. This will allow easier admin URL changes, when needed. Thanks Simon Charette for the review.
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-05Removed old import aliases.Tim Graham
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2015-01-20Fixed typos in code comments.Adam Taylor
2015-01-18Removed support for admin validators per deprecation timeline; refs #16905.Tim Graham
2015-01-17Fixed #24055 -- Keep reference to view class for resolve()Collin Anderson
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.