|
From: <sub...@co...> - 2006-08-22 14:48:41
|
Author: phd
Date: 2006-08-22 08:48:31 -0600 (Tue, 22 Aug 2006)
New Revision: 1876
Modified:
SQLObject/docs/SQLObject.txt
Log:
Fixed the bug 1519914: Documentation error: DateTime should be DateTimeCol.
Modified: SQLObject/docs/SQLObject.txt
===================================================================
--- SQLObject/docs/SQLObject.txt 2006-08-22 14:46:08 UTC (rev 1875)
+++ SQLObject/docs/SQLObject.txt 2006-08-22 14:48:31 UTC (rev 1876)
@@ -1020,7 +1020,7 @@
The default value for this column. Used when creating a new row.
If you give a callable object or function, the function will be
called, and the return value will be used. So you can give
- ``DateTime.now`` to make the default value be the current time.
+ ``DateTimeCol.now`` to make the default value be the current time.
Or you can use ``sqlbuilder.func.NOW()`` to have the database use
the ``NOW()`` function internally. If you don't give a default
there will be an exception if this column isn't specified in the
|