summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-08-19 22:57:08 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-08-19 22:57:08 +0000
commited8e392f771b415fc5b5c95a770d6a3b4f59530a (patch)
treee35035f294b46a86279ab7865b7a509a4c153409
parent29f67dce9efd048b915d70f905ee1c9d2bda5de9 (diff)
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
-rw-r--r--django/db/backends/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py
index 2ae652a3e8..41295a15b7 100644
--- a/django/db/backends/__init__.py
+++ b/django/db/backends/__init__.py
@@ -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