summaryrefslogtreecommitdiff
path: root/tests/admin_views
AgeCommit message (Collapse)Author
2016-02-01[1.9.x] Fixed incorrect permissions check for admin's "Save as new".Myk Willis
This is a security fix.
2016-01-21[1.9.x] Fixed #26060 -- Fixed crash with reverse OneToOneField in ↵Alexander Gaevsky
ModelAdmin.readonly_fields. Backport of 9a33d3d76497d9e198de942ee1236c452231262f from master
2016-01-08[1.9.x] Added a test for adding a UUID pk object using the "Add related" ↵Alexander Gaevsky
admin popup. Follow up to refs #25997 but this case wasn't broken. Backport of 5052f79df45d843d1e44dcc47152ed503220098f from master
2016-01-08[1.9.x] Fixed #25997 -- Removed redundant escaping in admin's edit related ↵Alexander Gaevsky
model popup.
2016-01-06[1.9.x] Fixed #26035 -- Prevented user-tools from appearing on admin logout ↵Scott Pashley
page. Backport of 7cc2efc2d6916c05a0a5cb0c0e67f5405d8f6a03 from master
2015-12-29[1.9.x] Fixed #25465 -- Restored line breaks conversion in admin readonly ↵Alexander Gaevsky
fields. Backport of 69208a5a1c55d42ca0eaffa900be643d9f801089 from master
2015-12-28[1.9.x] Fixed #23285 -- Fixed non-deterministic admin_views test.Tim Graham
This test sometimes fail because the checked integers can appear in the output as memory addresses due to #24316.
2015-12-21[1.9.x] Fixed #25903 -- Fixed the admin's list_editable add/change buttons.Tim Graham
Backport of f18b08748abaecb171fdcbcdfdcd7e4d95d931d1 from master
2015-12-10[1.9.x] Fixed #25883 -- Fixed admin deletion page summary counts for related ↵Sergey Fedoseev
objects. Backport of 8ab58b80529c5206654c1042a4ddcf2da364f8ec from master
2015-11-25[1.9.x] Removed explicit User ids in tests.Tim Graham
Backport of 935061621136ddb4e4ca65a1861ee57e4e3dda09 from master
2015-11-21[1.9.x] Fixed #25781 -- Simplified admin_views tests with client.force_login()Adam Wester
Backport of 550107ff756beeb17b465e98c26c59e3dcc5eb3e from master
2015-10-29[1.9.x] Fixed #25622 -- Accounted for generic relations in the admin to ↵Simon Charette
field validation Thanks to Jonathan Liuti for the report and Tim Graham for the review. Backport of 9dcfecb7c6c8285630ad271888a9ec4ba9140e3a from master
2015-10-20[1.9.x] Fixed quad quoted ("""") docstring starts.John Vandenberg
Backport of 9e3f6c7483d2362660e2bee554125d0215789d9d from master
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-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-07-21Refs #24919 -- Made test models serializable for migrations.Tim Graham
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-06Refs #4960 -- Fixed selenium test failures for CharField strip changes.Tim Graham
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-08Fixed #21927 -- Made application and instance namespaces more distinct.Marten Kenbeek
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.
2015-06-07Moved jQuery to a vendor/jquery subdirectory.Trey Hunner
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-05-11Fixed #24553 -- Added the list of available applications to ↵Riccardo Magliocchetti
AdminSite.each_context()
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.
2015-03-30Fixed #24466 -- Added JavaScript escaping in a couple places in the admin.Tim Graham
Thanks Aymeric Augustin and Florian Apolloner for work on the patch.
2015-03-23Added test for LogEntry.get_edited_object(); refs #24244.Varun Sharma
2015-03-20Fixed #24490 -- Set LogEntry.change_message when adding an object.Karl Hobley
2015-03-18Fixed #24476 -- Added context manager/decorator for overriding script prefix.Bas Peschier
Tests were using an undocumented keyword argument for easily overriding script prefix while reversing. This is now changed into a test utility which can be used as decorator or context manager.
2015-03-09Refs #24461 -- Added test/release notes for XSS issue in ↵Baptiste Mispelon
ModelAdmin.readonly_fields This issue was fixed by refs #24464.
2015-03-07Fixed #23993 -- Added form.media to the admin login template.david
2015-03-05Fixed admin selenium tests broken by removal of fixtures.Tim Graham
2015-03-05Converted test fixtures to setUpTestData methodsJosh Smeaton
2015-03-04Fixed #24426 -- Displayed admin actions panel when show_full_result_count=False.Tim Graham
2015-03-02Fixed #24294 -- Allowed staff_member_required decorator to handle args.Andrei Kulakov
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.