Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/timezones
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #25668 -- Misc spelling errorsVille Skyttä2015-11-031-1/+1
|
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-7/+29
|
* Adjusted tests that were messing with database ↵Aymeric Augustin2015-09-091-11/+26
| | | | | | | connections too heavily. The previous implementation would result in tests hitting the wrong database when running tests in parallel on multiple databases.
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-1/+1
| | | | on_delete for ForeignKey/OneToOneField
* 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-3/+3
|
* Added tzinfo to a test to fix RuntimeWarning.Tim Graham2015-05-181-3/+4
|
* Factored skip condition when pytz isn't installed.Aymeric Augustin2015-05-171-8/+10
|
* Dropped the needs_datetime_string_cast feature.Aymeric Augustin2015-05-171-34/+0
| | | | It has been superseded by the converter infrastructure.
* Worked around a bug when chaining skipIf/UnlessDBFeature.Aymeric Augustin2015-05-171-4/+8
|
* Fixed #23820 -- Supported per-database time zone.Aymeric Augustin2015-05-171-2/+65
| | | | | | | | | The primary use case is to interact with a third-party database (not primarily managed by Django) that doesn't support time zones and where datetimes are stored in local time when USE_TZ is True. Configuring a PostgreSQL database with the TIME_ZONE option while USE_TZ is False used to result in silent data corruption. Now this is an error.
* Removed global timezone-aware datetime adapters.Aymeric Augustin2015-05-171-1/+25
| | | | | | | | | | Refs #23820. Fixed #19738. Refs #17755. In order not to introduce a regression for raw queries, parameters are passed through the connection.ops.value_to_db_* methods, depending on their type.
* Removed global timezone-aware datetime converters.Aymeric Augustin2015-05-171-0/+25
| | | | Refs #23820.
* Updated tests to stop leaking models in shared AdminSite.Riccardo Magliocchetti2015-04-153-11/+10
| | | | | | This would break upcoming changes and AdminSite assumptions about having an app_config for each application that has registered models.
* Fixed #24558 -- Made dumpdata mapping ordering ↵Simon Charette2015-04-021-1/+1
| | | | | | deterministic. Thanks to gfairchild for the report and Claude for the review.
* Converted test fixtures to setUpTestData methodsJosh Smeaton2015-03-052-18/+10
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-13/+18
|
* Fixed #24149 -- Normalized tuple settings to lists.darkryder2015-02-031-1/+1
|
* Fixed #24124 (again) -- Updated tests with new default ↵Aymeric Augustin2015-01-121-4/+8
| | | | | | context_processors. Thanks Collin for the review.
* Moved context_processors from django.core to ↵Aymeric Augustin2014-12-281-1/+1
| | | | django.template.
* Optimized make_aware/naive by removing redundant checks. ↵Aymeric Augustin2014-05-161-28/+0
| | | | | | Refs #22625. Also added tests with pytz and removed misplaced tests.
* Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi2014-04-061-2/+2
|
* 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.
* Fixed typo in comments.Aymeric Augustin2014-03-211-2/+2
|
* Imported override_settings from its new location.Aymeric Augustin2013-12-231-2/+2
|
* Fixed E127 pep8 warnings.Loic Bistuer2013-12-141-8/+10
|
* Fixing E302 ErrorsJason Myers2013-11-033-0/+13
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed flake8 E241Boryslav Larin2013-11-021-10/+10
|
* Fixed #21302 -- Fixed unused imports and import *.Tim Graham2013-11-022-4/+1
|
* Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol2013-10-211-90/+108
|
* Removed unused local variables in tests.Tim Graham2013-10-191-2/+2
|
* Fixed #19560 -- Identified field in warning for naive ↵Aymeric Augustin2013-10-131-5/+10
| | | | | | datetime. Thanks gcc for the report and vajrasky for the patch.
* Factorized requires_tz_support decorator in test utilsClaude Paroz2013-10-011-14/+2
| | | | Thanks Aymeric Augustin for the suggestion. Refs #21165.
* Fixed #21074 -- Added tests for localized datetime fields.Aymeric Augustin2013-09-212-1/+22
| | | | | | | Fields must render values in the current time zone. This commit only contains tests because this ticket was just a symptom of a regression from #18777 that was fixed separately.
* Ensured that explicit time zones are rejected by forms.Aymeric Augustin2013-09-211-0/+5
| | | | Refs #19371.
* Fixed #17262 -- Refactored tzinfo implementations.Aymeric Augustin2013-09-091-3/+2
| | | | | | This commit deprecates django.utils.tzinfo in favor of the more recent django.utils.timezone which was introduced when Django gained support for time zones.
* Fixed existing tests to handle BadSerializer.Roberto Aguilar2013-09-071-6/+6
| | | | | When a BadSerializer instance is stubbed in for the yaml serializer, make sure tests do not fail.
* Removed most of absolute_import importsClaude Paroz2013-07-292-4/+0
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Stopped using django.utils.unittest in the test suite.Aymeric Augustin2013-07-011-1/+1
| | | | Refs #20680.
* Fixed #19733 - deprecated ModelForms without 'fields' or ↵Luke Plant2013-05-091-0/+1
| | | | | | | | 'exclude', and added '__all__' shortcut This also updates all dependent functionality, including modelform_factory and modelformset_factory, and the generic views `ModelFormMixin`, `CreateView` and `UpdateView` which gain a new `fields` attribute.
* Renamed some tests and removed references to ↵Florian Apolloner2013-02-261-1/+1
| | | | modeltests/regressiontests.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-267-0/+1200