summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-11-01 01:28:42 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-11-01 01:28:42 +0000
commitc65332d409cf477d4b55f1ff3bacbdea4a0afaff (patch)
tree5bbb62c72d571b07f7e4986713792055059f082e
parentcee6faf43ed92c5b276ca4d2e1754a72fbc00ce1 (diff)
downloaddjango-c65332d409cf477d4b55f1ff3bacbdea4a0afaff.tar.gz
Updated out-of-date docstring in django/core/db/__init__.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/core/db/__init__.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/django/core/db/__init__.py b/django/core/db/__init__.py
index c4f06e4c6e..f0ffeebc2e 100644
--- a/django/core/db/__init__.py
+++ b/django/core/db/__init__.py
@@ -1,16 +1,11 @@
"""
This is the core database connection.
-All CMS code assumes database SELECT statements cast the resulting values as such:
+All Django code assumes database SELECT statements cast the resulting values as such:
* booleans are mapped to Python booleans
* dates are mapped to Python datetime.date objects
* times are mapped to Python datetime.time objects
* timestamps are mapped to Python datetime.datetime objects
-
-Right now, we're handling this by using psycopg's custom typecast definitions.
-If we move to a different database module, we should ensure that it either
-performs the appropriate typecasting out of the box, or that it has hooks that
-let us do that.
"""
from django.conf.settings import DATABASE_ENGINE