Fixed #8028 -- A couple of small docstring fixes from [8131]. Thanks, Leo Soto.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
464a9c8ca4
commit
b7e74e5e56
|
@ -277,7 +277,7 @@ class BaseDatabaseOperations(object):
|
|||
def value_to_db_datetime(self, value):
|
||||
"""
|
||||
Transform a datetime value to an object compatible with what is expected
|
||||
by the backend driver for date columns.
|
||||
by the backend driver for datetime columns.
|
||||
"""
|
||||
if value is None:
|
||||
return None
|
||||
|
@ -286,7 +286,7 @@ class BaseDatabaseOperations(object):
|
|||
def value_to_db_time(self, value):
|
||||
"""
|
||||
Transform a datetime value to an object compatible with what is expected
|
||||
by the backend driver for date columns.
|
||||
by the backend driver for time columns.
|
||||
"""
|
||||
if value is None:
|
||||
return None
|
||||
|
|
Loading…
Reference in New Issue