Russell Keith-Magee
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
14 năm trước cách đây |
Jannis Leidel
|
b921f1bac0
Fixed #12475 -- Fixed an edge case with hidden fields in ModelAdmin changelists when used in conjunction with list_display_links or list_editable. Thanks, Simon Meers, Julien Phalip, Karen and master.
|
14 năm trước cách đây |
Ramiro Morales
|
bd3b5e8c2b
Fixed #15517 -- Fixed regression in admin search_fields option introduced in r15526. Thanks Fabian Buechler for the report and fix and Julien Phalip for adding tests.
|
14 năm trước cách đây |
Russell Keith-Magee
|
b5b5ba6cd9
Fixed #10918 -- Ensure that the search widget on a raw_id_admin uses the right field name when the ForeignKey has a to_field definition. Thanks to David Cramer for the report, Collin Anderson for the fix, and Julien Phalip for the test.
|
14 năm trước cách đây |
Jacob Kaplan-Moss
|
174d8db57c
Prevented non-admin users from accessing the admin redirect shortcut.
|
14 năm trước cách đây |
Ramiro Morales
|
4b13e76deb
Fixed #14012 (again) -- Admin app: Don't show the full user edition view after adding a user in a FK popup. Thanks dburke for reporting this regression introduced in r14628.
|
14 năm trước cách đây |
Ramiro Morales
|
52fc61e0cf
Fixed #14529 -- Fixed representation of model names in admin messages after model object changes when the ModelAdmin queryset() uses defer() or only(). Thanks rlaager for report and initial patch, to rasca an julien for help in tracking the problem.
|
14 năm trước cách đây |
Russell Keith-Magee
|
75a1aaa1f9
Fixed #11513 -- Ensure that the redirect at the end of an object change won't redirect to a page for which the user doesn't have permission. Thanks to rlaager for the report and draft patch, and to Julien Phalip for the final patch.
|
14 năm trước cách đây |
Russell Keith-Magee
|
fe3c9ad551
Fixed #14355 -- Ensure that help_text is displayed for readonly fields in the admin. Thanks to jester for the report, and to alexbmeng, subsume, wamberg and Julien Phalip for ther work on the patch.
|
14 năm trước cách đây |
Russell Keith-Magee
|
791ecb4be4
Fixed #13126 -- Ensured that individual form errors are displayed when errors occur on a list-editable changelist. Thanks to slafs for the report, and to Julien Phalip for the patch.
|
14 năm trước cách đây |
Ramiro Morales
|
d5042109b8
Corrected small error when preserving an I18N-related setting value in an admin views test setup.
|
14 năm trước cách đây |
Russell Keith-Magee
|
c2666c9a45
Ensure that L10N formats aren't cached between tests.
|
14 năm trước cách đây |
Russell Keith-Magee
|
4e7c2ba1d7
Cleaned up the tests from r15451 to avoid the need to retrieve a URL twice.
|
14 năm trước cách đây |
Russell Keith-Magee
|
74ffca17e2
Fixed #10573 -- Corrected autofocus problem in admin when the first widget displayed is a multiwidget. Thanks to rduffield for the report, and to Ramiro and Julien Phalip for the patch.
|
14 năm trước cách đây |
Russell Keith-Magee
|
a105ca5d7a
Fixed #15234 -- Ensure that years in a date heirarchy don't use commas for thousand separators, regardless of the value of USE_THOUSAND_SEPARATOR. Thanks to Julien Phalip for the report and patch.
|
14 năm trước cách đây |
Russell Keith-Magee
|
5582ad149c
Fixed #14895 -- Ensure that USE_THOUSAND_SEPARATOR doesn't break the delete confirmation page. Thanks to Tuttle for the report, and Julien Phalip for the patch.
|
14 năm trước cách đây |
Russell Keith-Magee
|
d44fb0557a
Fixed #14824 -- Corrected the handling of formats when USE_L10N is disabled. Thanks to nullie for the report and initial patch, and to idle for the separate report with helpful debug info.
|
14 năm trước cách đây |
Luke Plant
|
655d5afea9
Fixed #14880 - raw_id_fields in admin does not work when limit_choices_to dictionary has value=False
|
14 năm trước cách đây |
Luke Plant
|
c24bdf044b
Fixed #15103 - SuspiciousOperation with limit_choices_to and raw_id_fields
|
14 năm trước cách đây |
Carl Meyer
|
53dac996ef
Poured a little more perfectionism into the delete-confirmation templates.
|
14 năm trước cách đây |
Carl Meyer
|
93a4d46184
Fixed #14672 - Added admin handling for on_delete=PROTECT. Thanks to jtiai for the report.
|
14 năm trước cách đây |
Ramiro Morales
|
1c56af676d
Added tests demonstrating that filtering lookup expression that involve model with inheritance schemes aren't incorrectly blacklisted by the r15031 security fix. Refs. #15032.
|
14 năm trước cách đây |
Russell Keith-Magee
|
6bd8c14be9
Fixed #14999 -- Ensure that filters on local fields are allowed, and aren't caught as a security problem. Thanks to medhat for the report.
|
14 năm trước cách đây |
Ramiro Morales
|
0f783b7f4e
Fixed #2986 -- Made the JavaScript code that drives related model instance addition in a popup window handle a model representation containing new lines. Also, moved the escapejs functionality yoo django.utils.html so it can be used from Python code. Thanks andrewwatts for the patch.
|
14 năm trước cách đây |
Jannis Leidel
|
7a89d3d503
Fixed #11700 -- Stopped admin actions and list_editable fields to show up in popups. Thanks to Simon Meers for the initial patch.
|
14 năm trước cách đây |
Alex Gaynor
|
732198ed5c
Fix a security issue in the admin. Disclosure and new release forthcoming.
|
14 năm trước cách đây |
Jannis Leidel
|
2c2209b473
Fixed #13607 -- Auto-initialize admin's date hierarchy links intelligently. Thanks, Simon Meers.
|
14 năm trước cách đây |
Alex Gaynor
|
5bc0ec4ec4
Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite.
|
14 năm trước cách đây |
Jannis Leidel
|
cc64fb5c4b
Fixed #8342 -- Removed code from the admin that assumed that you can't login with an email address (nixed by r12634). Also refactored login code slightly to be DRY by using more of auth app's forms and views.
|
14 năm trước cách đây |
Honza Král
|
dc334a2ba8
Fixed #3400 -- Support for lookup separator with list_filter admin option. Thanks to DrMeers and vitek_pliska for the patch!
|
14 năm trước cách đây |