summaryrefslogtreecommitdiff
path: root/tests/admin_views
AgeCommit message (Collapse)Author
2017-08-31[1.11.x] Fixed #27998, #28543 -- Restored logging of ManyToManyField changes ↵Tim Graham
in admin's object history. And prevented ManyToManyField initial data in model forms from being affected by subsequent model changes. Regression in 56a55566a791a11420fe96f745b7489e756fc931. Partial backport of e5bd585c6eb1e13e2f8aac030b33c077b0b70c05 and 15b465c584f49a1d43b6c18796f83521ee4ffc22 from master
2017-06-06[1.11.x] Fixed #28202 -- Fixed FieldListFilter.get_queryset() crash on ↵Paulo
invalid input. Backport of 4ad2f862844d35404e4798b3227517625210a72e from master
2017-06-05[1.11.x] Fixed #28262 -- Fixed incorrect DisallowedModelAdminLookup when a ↵Paulo
nested reverse relation is in list_filter. Backport of b7f99f84bcc4a06114ac31174840efab0aef7602 from master
2017-01-23[1.11.x] Replaced dict() usage with dict literals.Jon Dufresne
Literals are faster and more idiomatic. Backport of 0d74c41981687598d3fa0a7eb9712ce4c387ca19 from master
2017-01-07Refs #26961 -- Fixed invalid ModelAdmins in tests.Adam Chainz
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-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
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-14Fixed #26170 -- Made ModelAdmin views run transactions on the correct database.Jibodeah
Thanks juntatalor for the initial patch.
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-08Fixed #26290 -- Warned that paginating an unordered QuerySet may result in ↵Emad Mokhtar
inconsistent results.
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.
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.