From 5721396426cecd9fb172aa1acd27e54da7c67c8c Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sat, 16 Jul 2005 16:56:27 +0000 Subject: [PATCH] Fixed inconsistent capitalization in [109] git-svn-id: http://code.djangoproject.com/svn/django/trunk@110 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/db/backends/postgresql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/db/backends/postgresql.py b/django/core/db/backends/postgresql.py index b2bfc613e4..cf7c152f67 100644 --- a/django/core/db/backends/postgresql.py +++ b/django/core/db/backends/postgresql.py @@ -65,7 +65,7 @@ def get_last_insert_id(cursor, table_name, pk_name): try: Database.register_type(Database.new_type((1082,), "DATE", typecasts.typecast_date)) except AttributeError: - raise Exception, "You appear to be using Psycopg version 2, which isn't supported yet, because it's still in beta. Use psycopg version 1 instead: http://initd.org/projects/psycopg1" + raise Exception, "You appear to be using psycopg version 2, which isn't supported yet, because it's still in beta. Use psycopg version 1 instead: http://initd.org/projects/psycopg1" Database.register_type(Database.new_type((1083,1266), "TIME", typecasts.typecast_time)) Database.register_type(Database.new_type((1114,1184), "TIMESTAMP", typecasts.typecast_timestamp)) Database.register_type(Database.new_type((16,), "BOOLEAN", typecasts.typecast_boolean))