server/sources/native.py
changeset 5323 329b4f6d18b4
parent 5217 08e7fa906cdb
child 5397 cdbf823450aa
--- a/server/sources/native.py	Mon Apr 19 12:42:54 2010 +0200
+++ b/server/sources/native.py	Mon Apr 19 12:43:23 2010 +0200
@@ -178,43 +178,43 @@
          {'type' : 'string',
           'default': 'postgres',
           'help': 'database driver (postgres or sqlite)',
-          'group': 'native-source', 'inputlevel': 1,
+          'group': 'native-source', 'level': 1,
           }),
         ('db-host',
          {'type' : 'string',
           'default': '',
           'help': 'database host',
-          'group': 'native-source', 'inputlevel': 1,
+          'group': 'native-source', 'level': 1,
           }),
         ('db-port',
          {'type' : 'string',
           'default': '',
           'help': 'database port',
-          'group': 'native-source', 'inputlevel': 1,
+          'group': 'native-source', 'level': 1,
           }),
         ('db-name',
          {'type' : 'string',
           'default': Method('default_instance_id'),
           'help': 'database name',
-          'group': 'native-source', 'inputlevel': 0,
+          'group': 'native-source', 'level': 0,
           }),
         ('db-user',
          {'type' : 'string',
           'default': CubicWebNoAppConfiguration.mode == 'user' and getlogin() or 'cubicweb',
           'help': 'database user',
-          'group': 'native-source', 'inputlevel': 0,
+          'group': 'native-source', 'level': 0,
           }),
         ('db-password',
          {'type' : 'password',
           'default': '',
           'help': 'database password',
-          'group': 'native-source', 'inputlevel': 0,
+          'group': 'native-source', 'level': 0,
           }),
         ('db-encoding',
          {'type' : 'string',
           'default': 'utf8',
           'help': 'database encoding',
-          'group': 'native-source', 'inputlevel': 1,
+          'group': 'native-source', 'level': 1,
           }),
     )