Added tests displaying datetime behaviour.

Updated datetimefield documentation
This commit is contained in:
Ross Lawley
2011-06-08 10:33:56 +01:00
parent 525c25b9f6
commit cfcd77b193
2 changed files with 64 additions and 0 deletions

View File

@@ -229,6 +229,10 @@ class BooleanField(BaseField):
class DateTimeField(BaseField):
"""A datetime field.
Note: Microseconds are rounded to the nearest millisecond.
Pre UTC microsecond support is effecively broken see
`tests.field.test_datetime` for more information.
"""
def validate(self, value):