Browse files

Added extra documentation to BaseDatabaseOperations.datetime_cast_sql…

…() docstring

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
adrianholovaty committed Aug 19, 2007
1 parent 29f67dc commit ed8e392f771b415fc5b5c95a770d6a3b4f59530a
Showing with 3 additions and 0 deletions.
  1. +3 −0 django/db/backends/
@@ -73,5 +73,8 @@ def datetime_cast_sql(self):
Returns the SQL necessary to cast a datetime value so that it will be
retrieved as a Python datetime object instead of a string.
+ This SQL should include a '%s' in place of the field's name. This
+ method should return None if no casting is necessary.
return None

0 comments on commit ed8e392

Please sign in to comment.