Kaydet (Commit) ed8e392f authored tarafından Adrian Holovaty's avatar Adrian Holovaty

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
üst 29f67dce
...@@ -73,5 +73,8 @@ class BaseDatabaseOperations(object): ...@@ -73,5 +73,8 @@ class BaseDatabaseOperations(object):
""" """
Returns the SQL necessary to cast a datetime value so that it will be Returns the SQL necessary to cast a datetime value so that it will be
retrieved as a Python datetime object instead of a string. 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 return None
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment