Browse Source

add comments to explain that we need DEFAULT section params

Guénaël Muller 6 years ago
parent
commit
540ba39ff4
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tracim/command/database.py

+ 3 - 0
tracim/command/database.py View File

46
         config_uri = parsed_args.config_file
46
         config_uri = parsed_args.config_file
47
         setup_logging(config_uri)
47
         setup_logging(config_uri)
48
         settings = get_appsettings(config_uri)
48
         settings = get_appsettings(config_uri)
49
+        # INFO - G.M - 2018-06-178 - We need to add info from [DEFAULT]
50
+        # section of config file in order to have both global and
51
+        # web app specific param.
49
         settings.update(settings.global_conf)
52
         settings.update(settings.global_conf)
50
         self._create_schema(settings)
53
         self._create_schema(settings)
51
         self._populate_database(settings, add_test_data=parsed_args.test_data)
54
         self._populate_database(settings, add_test_data=parsed_args.test_data)