mirror of
https://github.com/django/django.git
synced 2025-01-28 19:19:20 +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:
parent
29f67dce9e
commit
ed8e392f77
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user