1
0
mirror of https://github.com/django/django.git synced 2025-03-13 10:50:55 +00:00

7 Commits

Author SHA1 Message Date
Aymeric Augustin
ddff6522fa [1.6.x] Fixed -- Identified field in warning for naive datetime.
Thanks gcc for the report and vajrasky for the patch.

Backport of 570d9c2678d6cc564f9c70138554af8f7ce9ec49 from master.
2013-10-13 11:58:12 +02:00
Claude Paroz
5b97b99a01 [1.6.x] Factorized requires_tz_support decorator in test utils
Thanks Aymeric Augustin for the suggestion. Refs .
Backport of c1c44b2506 from master.
2013-10-01 13:28:24 +02:00
Aymeric Augustin
e76dd4cd1a [1.6.x] Fixed -- Added tests for localized datetime fields.
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  that was fixed separately.

Backport of 5444a9c from master.
2013-09-21 23:11:04 +02:00
Russell Keith-Magee
3df9647ad9 [1.6.x] Merge pull request from rca/12756-missing-yaml-module-serializer-error-message
Fixed : Improved error message when yaml module is missing.

Backport of 4f5faa1916e7c8cb72cc9ebf1a1fd964ba6e707b from master.
2013-09-06 19:01:24 -05:00
Luke Plant
f026a519ae Fixed - deprecated ModelForms without 'fields' or '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.
2013-05-09 16:44:36 +01:00
Florian Apolloner
33836cf88d Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
Florian Apolloner
89f40e3624 Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00