Procházet zdrojové kódy

add comments to explain that we need DEFAULT section params

Guénaël Muller před 6 roky
rodič
revize
540ba39ff4
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      tracim/command/database.py

+ 3 - 0
tracim/command/database.py Zobrazit soubor

@@ -46,6 +46,9 @@ class InitializeDBCommand(AppContextCommand):
46 46
         config_uri = parsed_args.config_file
47 47
         setup_logging(config_uri)
48 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 52
         settings.update(settings.global_conf)
50 53
         self._create_schema(settings)
51 54
         self._populate_database(settings, add_test_data=parsed_args.test_data)