extensions.py 530B

123456789101112131415
  1. from hapic import Hapic
  2. hapic = Hapic()
  3. # TODO - G.M - 2018-08-08 - [GlobalVar] Refactor Global var of tracim_backend
  4. # INFO - G.M - 2018-08-08 - app_list
  5. # app_list is one of the few "global_val" in tracim_backend, with hapic
  6. # and all_content_types_validator.
  7. # The goal of this is to be able to get current list of loaded app.
  8. # List is empty until config load apps.
  9. # If you need to update app_list, think about updating Content validator like
  10. # all_content_types_validator , see update_validators() method.
  11. app_list = []