From 5596b752db684ec1dda16fc65765672f93ad054d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 9 Aug 2008 17:46:25 +0200 Subject: [PATCH] Use template0 for creating database for issue238 --- trytond/web_service/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/web_service/db.py b/trytond/web_service/db.py index 93f382b80c..592b14986e 100644 --- a/trytond/web_service/db.py +++ b/trytond/web_service/db.py @@ -38,7 +38,7 @@ class DB(Service): try: try: cursor.execute('CREATE DATABASE "' + db_name + '" '\ - 'ENCODING \'unicode\'') + 'TEMPLATE template0 ENCODING \'unicode\'') cursor.commit() cursor.close()