1
0
mirror of https://github.com/django/django.git synced 2024-11-19 07:54:07 +00:00

Added extra documentation to BaseDatabaseOperations.datetime_cast_sql() docstring

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-08-19 22:57:08 +00:00
parent 29f67dce9e
commit ed8e392f77

View File

@ -73,5 +73,8 @@ class BaseDatabaseOperations(object):
"""
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