summaryrefslogtreecommitdiff
path: root/tests/admin_views
AgeCommit message (Collapse)Author
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.
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.