Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit ed8e392f771b415fc5b5c95a770d6a3b4f59530a 1 parent 29f67dc
Adrian Holovaty authored August 19, 2007

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  django/db/backends/__init__.py
3  django/db/backends/__init__.py
@@ -73,5 +73,8 @@ def datetime_cast_sql(self):
73 73
         """
74 74
         Returns the SQL necessary to cast a datetime value so that it will be
75 75
         retrieved as a Python datetime object instead of a string.
  76
+
  77
+        This SQL should include a '%s' in place of the field's name. This
  78
+        method should return None if no casting is necessary.
76 79
         """
77 80
         return None

0 notes on commit ed8e392

Please sign in to comment.
Something went wrong with that request. Please try again.