Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Added extra documentation to BaseDatabaseOperations.datetime_cast_sql…

…() docstring

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit ed8e392f771b415fc5b5c95a770d6a3b4f59530a 1 parent 29f67dc
@adrianholovaty adrianholovaty authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  django/db/backends/
3  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
Please sign in to comment.
Something went wrong with that request. Please try again.