summaryrefslogtreecommitdiff
path: root/tests/admin_views
AgeCommit message (Collapse)Author
2016-07-18[1.10.x] Fixed XSS in admin's add/change related popup.Tim Graham
This is a security fix.
2016-07-01[1.10.x] Replaced use of TestCase.fail() with assertRaises().Tim Graham
Also removed try/except/fail antipattern that hides exceptions. Backport of c9ae09addffb839403312131d4251e9d8b454508 from master
2016-06-16[1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
Backport of 4f336f66523001b009ab038b10848508fd208b3b from master
2016-05-04Fixed #26558 -- Removed need for request context processor on admin login page.Dan Stephenson
2016-04-29Fixed #26207 -- Replaced dynamic classes with non-data descriptors for ↵Anssi Kääriäinen
deferred instance loading.
2016-04-21Fixed #22383 -- Added support for HTML5 required attribute on required form ↵Jon Dufresne
fields.
2016-04-20Fixed #16327 -- Redirected "Save as new" to change view instead of the ↵Markus Amalthea Magnuson
changelist.
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-03-29Fixed #21734 -- Handled ProtectedError in a POST to admin's delete_selected ↵Akshesh
action.
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-04Fixed #13875 -- Made admin's submit_row template tag pass whole context.Federico Capoano
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-11-17Fixed #25682 -- Removed bare except clauses.Attila Tovt
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-22Fixed #25519 -- Made the admin "View site" link point to sites running on a ↵Dheerendra Rathor
subpath. Used request.META['SCRIPT_NAME'] as the site_url if it hasn't been customized from the default value of '/'.
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