| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
BaseField --+
|
DateTimeField
A field that takes a date, time, ordatetime value. The optional constructor parameter autonow determines whether the value will default to the current datetime. If a time is supplied to this field, it will be converted into a datetime using the current date. If a date is supplied, it will be converted into a datetime using midnight of the given date
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
Set the value that this field will hold. You should use this method to perform validation as well. Raise a TypeError if value is of the incorrect type. By default, this method stores value in self._value
|
Perform deferred initialization on this field. This should be used whenever there are values that should be set when an instance of the Document object is created rather than when the Document class is created
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Fri May 20 23:31:51 2011 | http://epydoc.sourceforge.net |