summaryrefslogtreecommitdiff
path: root/tests/admin_views/tests.py
AgeCommit message (Collapse)Author
2016-03-25Fixed #26387 -- Restored the functionality of the admin's raw_id_fields in ↵Tim Graham
list_editable.
2016-03-21Removed unused variable.Tim Graham
2016-03-21Fixed #26235 -- Handled ProtectedError in a POST to admin's delete_view().Akshesh
2016-03-15Fixed #25364 -- Added generic way to test on all browsers supported by selenium.Akshesh
Browser names should be passed as a comma separated list to the --selenium flag. Thanks Tim Graham, Simon Charette and Moritz Sichert for review and discussion.
2016-02-12Removed unneeded hint=None/obj=None in system check messages.Tim Graham
2016-02-06Fixed #26175 -- Removed SHA1 password hashes in tests.Tim Graham
2016-02-02Fixed #24316 -- Made ModelAdmin.list_display callables use an appropriate ↵Tim Graham
CSS class name. Thanks Berker Peksag for the review.
2016-02-01Fixed incorrect permissions check for admin's "Save as new".Myk Willis
This is a security fix.
2016-01-21Fixed #26060 -- Fixed crash with reverse OneToOneField in ↵Alexander Gaevsky
ModelAdmin.readonly_fields.
2016-01-11Fixed #26048 -- Made admin selenium tests use implicitly_wait()Tim Graham
2016-01-11Replaced selenium.find_element_by_css_selector where by_id is sufficient.Tim Graham
2016-01-09Refs #25165 -- Fixed JSON serialization for delete popup in the admin.Tim Graham
2016-01-08Added a test for adding a UUID pk object using the "Add related" admin popup.Alexander Gaevsky
Follow up to refs #25997 but this case wasn't broken.
2016-01-08Fixed #21113 -- Made LogEntry.change_message language independentClaude Paroz
Thanks Tim Graham for the review.
2016-01-08Refs #25165 -- Fixed JSON serialization for add/edit popup in the admin.Alexander Gaevsky
Forwardport of test in o839d71d8562abe0b245024e55ca1d02a45e58fd from stable/1.9.x (refs #25997).
2016-01-08Refs #25165 -- Fixed failure of admin's "Add another" popup to close.Tim Graham
Thanks Thomas Grainger for the fix.
2016-01-06Fixed #26035 -- Prevented user-tools from appearing on admin logout page.Scott Pashley
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-12-29Fixed #25465 -- Restored line breaks conversion in admin readonly fields.Alexander Gaevsky
2015-12-28Moved LogEntry-related tests to their own test caseClaude Paroz
Thanks Tim Graham for reviewing and contributing to the patch. Refs #21113.
2015-12-28Fixed previous commit (e3d782fe804a94b2fe7c8a18b95d9fb41fb9119c) on Python 3.Tim Graham
2015-12-28Added the response to an admin_views test assertion to aid debugging.Tim Graham
2015-12-21Fixed #25903 -- Fixed the admin's list_editable add/change buttons.Tim Graham
2015-12-10Fixed #25883 -- Fixed admin deletion page summary counts for related objects.Sergey Fedoseev
2015-12-05Fixed #25165 -- Removed inline JavaScript from the admin.Thomas Grainger
This allows setting a Content-Security-Policy HTTP header (refs #15727). Special thanks to blighj, the original author of this patch.
2015-11-24Removed explicit User ids in tests.Tim Graham
2015-11-21Fixed #25781 -- Simplified admin_views tests with client.force_login()Adam Wester
2015-11-21Fixed #25780 -- Removed redundant status code assertions from testsAlex Morozov
2015-11-19Renamed __unicode__() to __str__() in some test comments.Tim Graham
2015-11-19Fixed #19361 -- Added link to object's change form in admin's post-save message.Anton Baklanov
Thanks Roel Kramer for tests.
2015-11-18Fixed #22810 -- Corrected admin changelist count for list filters that ↵Nick Sandford
filter by default.
2015-10-29Fixed #25622 -- Accounted for generic relations in the admin to field validationSimon Charette
Thanks to Jonathan Liuti for the report and Tim Graham for the review.
2015-10-20Fixed quad quoted ("""") docstring starts.John Vandenberg
2015-09-23Refs #23957 -- Required session verification per deprecation timeline.Tim Graham
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-09-11Fixed #25374 -- Made ModelAdmin checks work on instances instead of classes.Malcolm Box
This allows dynamically-generated attributes to be specified in checked ModelAdmin attributes without triggering errors.
2015-09-08Fixed #25135 -- Deprecated the contrib.admin allow_tags attribute.Ola Sitarska
Thanks Jaap Roes for the idea and initial patch.
2015-09-04Fixed #25353 -- Changed LogEntry.action_time to a "date created".Tim Graham
2015-09-03Fixed #25058 -- Added GenericRelations with related_query_name to the ↵sarthakmeh
admin's delete confirmation page.
2015-08-31Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant
2015-08-28Fixed #25323 -- Fixed selenium test failures with chromedriver 2.18.Tim Graham
2015-08-28Fixed #25299 -- Fixed crash with ModelAdmin.list_display value that clashes ↵Tim Graham
with a model reverse accessor.
2015-08-27Fixed #20597 -- Replaced admin GIF/PNG icons by SVGelky
2015-07-29Fixed #25163 -- Added hint for non-staff users to admin login page.Luis Visintini
2015-07-17Fixed #16501 -- Added an allow_unicode parameter to SlugField.Edward Henderson
Thanks Flavio Curella and Berker Peksag for the initial patch.
2015-07-03Fixed #25032 -- Removed double redirect in admin login.Jan Pazdziora
2015-06-29Fixed #25018 -- Changed simple_tag to apply conditional_escape() to its output.Luke Plant
This is a security hardening fix to help prevent XSS (and incorrect HTML) for the common use case of simple_tag. Thanks to Tim Graham for the review.
2015-06-07Moved jQuery to a vendor/jquery subdirectory.Trey Hunner
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-05-02Fixed #23387 -- Kept "Save as new" button after validation errors in admin.Adam Zapletal
When "Save as new" is chosen and errors occur, only show the "Save as new" button and not the other save buttons. Thanks to Tino de Bruijn for doing the real work on this fix.