summaryrefslogtreecommitdiff
path: root/tests/admin_widgets/tests.py
AgeCommit message (Collapse)Author
2013-10-23Fixed E225 pep8 warnings.Tim Graham
2013-10-21Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol
2013-10-18Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol
2013-10-18Fixed #21267 -- Fixed E502 pep8 warningsAlasdair Nicol
2013-10-14Fixed #21266 -- Fixed E201,E202 pep8 warnings.Larry O'Neill
2013-09-15Fixed a timing edge case in the RelatedFieldWidgetSeleniumFirefoxTests.Florian Apolloner
By settings an implicit wait timeout for the find_* methods we can wait till the javascript code add the new option to the DOM. See http://ci.djangoproject.com/job/Django/database=mysql_gis,python=python3.3/3174/testReport/junit/admin_widgets.tests/RelatedFieldWidgetSeleniumFirefoxTests/test_foreign_key_using_to_field/ Stacktrace: Traceback (most recent call last): File "/var/lib/jenkins/jobs/Django/workspace/database/mysql_gis/python/python3.3/tests/admin_widgets/tests.py", line 1060, in test_foreign_key_using_to_field self.assertEqual(username_value, new_option.get_attribute('value')) AssertionError: 'newuser' != 'testser' - newuser + testser
2013-09-10Fixed #4574 -- Added CSS classes to the admin calendar widget for better ↵Roberto Aguilar
control over styling.
2013-09-07Fixed #20836 -- Ensure that the ForeignKey's to_field attribute is properly ↵Julien Phalip
considered by the admin's interface when creating related objects. Many thanks to Collin Anderson for the report and patch and to Peter Sheats for the test.
2013-09-06Fixed #20821 -- Added tooltips to Admin SelectBox widgetRudy Mutter
The Admin widget, which can be used to filter multiple selects can sometimes be too narrow and hide information such as user permissions. This commit adds tooltips to the select options so that a user can hover over and see the hidden text.
2013-08-22Fixed #19303 -- Fixed ModelAdmin.formfield_overrides on fields with choicesLukasz Balcerzak
2013-08-16Combine consecutive with statementsClaude Paroz
Python 2.7 allows to combine several 'with' instructions.
2013-08-13Removed unneeded conditional_escapes from the testsuite.Florian Apolloner
2013-08-13Apply autoescaping to AdminURLFieldWidget.Jacob Kaplan-Moss
This is a security fix; disclosure to follow shortly.
2013-08-06Fixed #20865 -- Fixed raw_id_fields to work with callable limit_choices_to.Collin Anderson
2013-08-04Fixed some intermittent Selenium test failures.Julien Phalip
2013-08-04Added some Selenium tests for the admin raw id widget.Julien Phalip
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-07-26Updated contrib.admin to use Email/URLInputs; refs #16630Tim Graham
2013-07-09Fixed #20663 -- "Today" and "now" admin shortcuts.Loic Bistuer
Changed the shortcuts next to date and time intput widgets to account for the current timezone. Refs #7717, #14253 and #18768.
2013-07-01Stopped using django.utils.unittest in the test suite.Aymeric Augustin
Refs #20680.
2013-06-10Fixed available_apps for selenium tests.Aymeric Augustin
Refs #20483.
2013-05-23Made fix for #9321 less buggy and more effective.Ramiro Morales
Don't try to be smart about building a good-looking help string because it evaluates translations too early, simply use the same old strategy as before. Thanks Donald Stufft for the report. Also, actually fix the case reported by the OP by special-casing CheckboxSelectMultiple. Added tests. Refs #9321.
2013-02-26Renamed some tests and removed references to modeltests/regressiontests.Florian Apolloner
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner