summaryrefslogtreecommitdiff
path: root/tests/admin_views/tests.py
AgeCommit message (Collapse)Author
2017-12-02[2.0.x] Refs #28871 -- Fixed admin_views selenium test failure.Tim Graham
Backport of 7664fe275910bb31fcca2d54844bedde19fc4ed9 from master
2017-09-18Fixed #14370 -- Allowed using a Select2 widget for ForeignKey and ↵Johannes Hoppe
ManyToManyField in the admin. Thanks Florian Apolloner and Tim Graham for review and contributing to the patch.
2017-06-19Moved admin's action view tests to a separate file.Tim Graham
2017-06-14Fixed #27998 -- Made ManyToManyField changes logged in admin's object history.Lincoln Smith
2017-06-09Refs #27953 -- Removed hardcoded uses of Model.__str__() in tests.Collin Anderson
2017-06-05Fixed #28262 -- Fixed incorrect DisallowedModelAdminLookup when a nested ↵Paulo
reverse relation is in list_filter.
2017-06-02Fixed admin_views IntegrityError test failure.Tim Graham
Regression in 38a5a23c327ab1c816dc56864002ecc66cac4a48.
2017-06-02Fixed admin_views test when run in reverse.Tim Graham
Modifying self.s1 created in setUpTestData() leaked state. Regression in 45585d3cbbd320a316171b17474b60e3f5fb1fb8.
2017-06-02Removed pk hardcoding in admin_views tests.Tim Graham
2017-03-17Replaced type-specific assertions with assertEqual().Tim Graham
Python docs say, "it's usually not necessary to invoke these methods directly."
2017-03-06Fixed #27475 -- Fixed NonExistentTimeError crash in ModelAdmin.date_hierarchy.Anton Samarchyan
2017-01-23Replaced dict() usage with dict literals.Jon Dufresne
Literals are faster and more idiomatic.
2017-01-20Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham
These functions do nothing on Python 3.
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #25135 -- Removed support for the contrib.admin allow_tags attribute.Tim Graham
Per deprecation timeline.
2017-01-04Refs #2856 -- Removed redundant escaping in admin's "Perhaps it was ↵Tim Graham
deleted?" message.
2017-01-03Fixed #2856 -- Replaced some 404s with messages in admin.Karen Tracey
Instead of a 404, return a redirect to admin index page with a message indicating that the requested object does not exist. This avoids the admin returning 404 from "Recent Actions" links for deleted objects.
2016-12-27Fixed #15667 -- Added template-based widget rendering.Preston Timmons
Thanks Carl Meyer and Tim Graham for contributing to the patch.
2016-12-23Fixed #26543 -- Prevented "confirm form submission" browser prompt when ↵Adonys Alea Boffill
reloading after an admin actions failure.
2016-12-21Refs #25753 -- Reset l10n cache when format settings changeClaude Paroz
Thanks Jaap Roes for the initial patch.
2016-12-14Fixed #27313 -- Allowed overriding admin popup response template.Michael Scott
2016-12-07Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.Tim Graham
2016-11-12Fixed #27386 -- Wrapped admin's readonly fields in <div> rather than <p>.Jacob Rief
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-10-13Fixed #26954 -- Prevented ModelAdmin.has_module_permission()=False from ↵Halil Kaya
blocking access to the app index page.
2016-10-10Fixed #26447 -- Deprecated settings.USE_ETAGS in favor of ↵Denis Cornehl
ConditionalGetMiddleware.
2016-09-27Fixed #27266 -- Allowed using assertFormError()/assertFormsetError() in ↵Tim Graham
admin forms and formsets. Thanks Diego Andrés Sanabria Martín for the report and review.
2016-09-21Fixed #27256 -- Changed Select widget's selected attribute to use HTML5 ↵Jon Dufresne
boolean syntax.
2016-09-17Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham
http://bugs.python.org/issue27364
2016-09-12Refs #26524 -- Added a test for a <OneToOneField>_id reference in ↵Jon Dufresne
ModelAdmin.list_display.
2016-09-12Fixed #26524 -- Fixed crash in admin change view when displaying many to ↵Jon Dufresne
many forward refs. Thanks Tim Graham for the regression test.
2016-09-10Fixed #27207 -- Replaced <p> tag with <div> in admin help texts.Alexander Gaevsky
2016-09-09Normalized spelling of ETag.Tim Graham
2016-08-11Fixed #26919 -- Added the action form's media in the changelist view.Stanislav Karpov
2016-08-10Fixed admin_views clashing field check error.Adam Chainz
admin_views.Recommendation.recommender: (models.E006) The field 'recommender' clashes with the field 'recommender' from model 'admin_views.title'.
2016-07-18Fixed XSS in admin's add/change related popup.Tim Graham
This is a security fix.
2016-07-09Fixed #26872 -- Fixed text overflow in ModelAdmin.list_filter.Kenneth
2016-06-28Replaced use of TestCase.fail() with assertRaises().Tim Graham
Also removed try/except/fail antipattern that hides exceptions.
2016-06-27Fixed #26779 -- Added extra_context parameter to admin's i18n_javascript view.Shabda Raaj
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-06-09Fixed #4548 -- Added username hint to admin's change_password form.Oliver Sauder
2016-06-08Fixing #26524 -- Made a foreign key id reference in ModelAdmin.list_display ↵krishbharadwaj
display the id.
2016-06-04Fixed #19963 -- Added support for date_hierarchy across relations.Vytis Banaitis
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.