Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/admin_widgets
Commit message (Collapse)AuthorAgeFilesLines
* Refs #25550 -- Removed reverse related set assignment in ↵Tim Graham2015-10-311-6/+4
| | | | selenium tests.
* Refs #25149 -- Fixed regression in admin datetime widget ↵Gavin Wahl2015-09-161-0/+15
| | | | for timezones on the negative side of UTC.
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-25/+62
|
* Fixed #25323 -- Fixed selenium test failures with ↵Tim Graham2015-08-281-12/+7
| | | | chromedriver 2.18.
* Removed usage of selenium's deprecated ↵Tim Graham2015-07-311-2/+2
| | | | switch_to_window() method.
* Fixed #24444 -- Updated contrib.admin to use ↵elky2015-07-301-1/+1
| | | | django-flat-theme
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-9/+14
| | | | on_delete for ForeignKey/OneToOneField
* Refs #25006 -- Added a '6 p.m.' option to the admin's ↵Tim Graham2015-06-221-0/+7
| | | | time picker.
* Fixed #21927 -- Made application and instance namespaces ↵Marten Kenbeek2015-06-081-2/+2
| | | | | | | | more distinct. 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.
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-15/+15
|
* Fixed #24466 -- Added JavaScript escaping in a couple ↵Tim Graham2015-03-311-4/+10
| | | | | | places in the admin. Thanks Aymeric Augustin and Florian Apolloner for work on the patch.
* Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen2015-03-251-10/+10
| | | | | | | | Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True.
* Fixed admin selenium tests broken by removal of fixtures.Tim Graham2015-03-051-20/+28
|
* Fixed #19538 -- Removed window.__admin_media_prefix__ ↵Tim Graham2015-03-051-6/+2
| | | | from admin templates.
* Converted test fixtures to setUpTestData methodsJosh Smeaton2015-03-052-76/+49
|
* Refs #14497 -- Handled empty readonly admin FileFieldsCollin Anderson2015-02-111-0/+6
|
* Replaced hardcoded URLs in admin_* testsClaude Paroz2015-02-081-17/+18
| | | | | Refs #15779. This will allow easier admin URL changes, when needed. Thanks Simon Charette for the review.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-063-13/+9
|
* Fixed #14497 -- Improved admin widget for "read only" ↵Riccardo Magliocchetti2015-02-042-8/+42
| | | | | | FileFields Based on patch by Adam J Forster, Paul Collins, and Julien.
* Fixed #24149 -- Normalized tuple settings to lists.darkryder2015-02-031-8/+8
|
* Fixed #13165 -- Added edit and delete links to admin ↵Simon Charette2015-01-102-2/+47
| | | | | | | foreign key widgets. Thanks to Collin Anderson for the review and suggestions and Tim for the final review.
* Fixed #23995 -- Removed unnecessary calls to ↵Diego Guimarães2014-12-161-6/+0
| | | | self.client.logout() in tests.
* Fixed typos using https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-041-1/+1
|
* Fixed #23620 -- Used more specific assertions in the ↵Berker Peksag2014-11-031-4/+4
| | | | Django test suite.
* Fixed occasional selenium test failure on Jenkins with ↵Tim Graham2014-09-151-1/+1
| | | | | | | | | | Chrome 36+. Previously find_element_by_id('id_password') on the next line failed with NoSuchElementException and selenium.page_source was <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body></body></html>. Possibly related: https://code.google.com/p/selenium/issues/detail?id=1969.
* Fixed test failure on python 3.x.Florian Apolloner2014-08-141-1/+1
|
* Fixed #18767 -- Fixed admin calendar for other locales ↵Maxime Turcotte2014-08-141-0/+47
| | | | | | | | | | than English. Refactored openCalendar function from DateTimeShortcuts.js. Now, when entered manually in the input field, the date will show up correctly on the calendar for locales that don't use "-" for separator. Thanks charettes for revivew and Alexey Boriskin for some of the patch.
* Fixed #23262 -- Made SelectFilter2.js move items on ↵Collin Anderson2014-08-121-0/+11
| | | | enter Key press.
* Removed usage of deprecated switch_to_*() selenium methods.Tim Graham2014-07-241-10/+10
|
* Fixed #19671 -- Added warnings that null and validators ↵Anubhav Joshi2014-07-091-1/+1
| | | | | | are ignored for ManyToManyField. Thanks Loic Bistuer and Tim Graham for help and review.
* Fixed #22909 -- Removed camelCasing in some tests.Tim Graham2014-07-081-24/+24
| | | | Thanks brylie.
* Fixed #22894 -- Made admin add related/raw ID fields ↵Riccardo Magliocchetti2014-06-261-10/+23
| | | | | | | widgets customizable. Decoupled behavior and style from the RelatedFieldWidgetWrapper and ForeignKeyRawIdWidget.
* Revert "Fixed #19303 -- Fixed ↵Tim Graham2014-06-021-17/+0
| | | | | | ModelAdmin.formfield_overrides on fields with choices" This reverts commit 9d1987d7679165ad3a7c2b713a8a488cc1421905.
* Harmonized some PEP 0263 coding preamblesClaude Paroz2014-05-151-1/+1
|
* Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi2014-04-061-18/+18
|
* Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham2014-04-031-4/+4
| | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
* Made m2m fields form help_text munging specific to admin ↵Ramiro Morales2014-03-221-0/+12
| | | | | | widgets. Refs #9321 and follow-up to e80de93af6a0a21a9063a55c4d6d20e3927243e9.
* Removed hard-coded help_text for ManyToManyFields that ↵Tim Graham2014-03-221-12/+0
| | | | | | use a SelectMultiple widget Per deprecation timeline; refs #9321.
* Fixed #21774 -- Isolate all test urls from eachother.Marc Tamlyn2014-01-141-13/+17
| | | | | | | | | | | | | This (nearly) completes the work to isolate all the test modules from each other. This is now more important as importing models from another module will case PendingDeprecationWarnings if those modules are not in INSTALLED_APPS. The only remaining obvious dependencies are: - d.c.auth depends on d.c.admin (because of the is_admin flag to some views), but this is not so important and d.c.admin is in always_installed_apps - test_client_regress depends on test_client. Eventually these should become a single module, as the split serves no useful purpose.
* Fixed selenium failure.Florian Apolloner2014-01-031-5/+5
| | | | | | | | | | | This fixes (at least according to tests on the ci itself) admin_widgets.tests.RelatedFieldWidgetSeleniumFirefoxTests.test_foreign_key_using_to_field (http://ci.djangoproject.com/job/Django/database=mysql_gis,python=python2.7/3792/testReport/junit/admin_widgets.tests/RelatedFieldWidgetSeleniumFirefoxTests/test_foreign_key_using_to_field/) The cause for this issue seems to be that wait_page_loaded was executed before click fired and as such no profile got saved (again just an educated guess, but with this fix I can no longer reproduce it -- fingers crossed).
* Fixed a few flaky selenium tests.Florian Apolloner2014-01-031-16/+6
| | | | | Many thanks go to David Burns (@AutomatedTester) for helping me understand css selectors and pointing me towards the correct selenium methods.
* Imported override_settings from its new location.Aymeric Augustin2013-12-231-1/+1
|
* Merging in masterJason Myers2013-11-031-2/+17
|\ | | | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
| * Merge pull request #1853 from loic/dstAymeric Augustin2013-11-031-2/+17
| |\ | | | | | | Fixed failing test around DST change.
| | * Fixed failing test around DST change.Loic Bistuer2013-11-031-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | The timezone arithmetic done in JS can be off by one hour around DST change. We work around this issue by adding one extra hour to the test error margin when we detect a DST change is near. Refs #20663.
| * | Fixed all E261 warningscoagulant2013-11-021-2/+2
| |/
* | PEP8 cleanupJason Myers2013-11-032-1/+29
| | | | | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* | Fixed all E261 warningscoagulant2013-11-031-2/+2
|/
* Fix all violators of E231Alex Gaynor2013-10-262-4/+4
|
* Fixed E225 pep8 warnings.Tim Graham2013-10-231-1/+1
|