docs: def load_project_context(self):
          """Loads the project context (static and dynamic) from the database/models for common use
          amongst the project's views."""
          try:
              # just make a copy of the project context
              context = StatikContext(
                  initial={
                      "project_name": self.config.project_name,
                      "base_path": self.config.base_path
                  },
                  static=self.config.context_static,
                  dynamic=self.config.context_dynamic
              )
              logger.debug("Built project context: %s", context)
              return context.build(db=self.db, safe_mode=self.safe_mode)
  
          except StatikError as exc:
              raise exc
          
          except Exception as exc:
              raise ProjectConfigurationError(
                  message="Failed to build context data from project configuration file.",
                  orig_exc=exc
              )