[SQL-CVS] r1877 - SQLObject/branches/0.7-bugfix/docs
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: <sub...@co...> - 2006-08-22 14:48:59
|
Author: phd
Date: 2006-08-22 08:48:47 -0600 (Tue, 22 Aug 2006)
New Revision: 1877
Modified:
SQLObject/branches/0.7-bugfix/docs/SQLObject.txt
Log:
Fixed the bug 1519914: Documentation error: DateTime should be DateTimeCol.
Modified: SQLObject/branches/0.7-bugfix/docs/SQLObject.txt
===================================================================
--- SQLObject/branches/0.7-bugfix/docs/SQLObject.txt 2006-08-22 14:48:31 UTC (rev 1876)
+++ SQLObject/branches/0.7-bugfix/docs/SQLObject.txt 2006-08-22 14:48:47 UTC (rev 1877)
@@ -1019,7 +1019,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
|