Skip to content
Snippets Groups Projects

Dev/refactoring synthesis

Merged Jérôme Mariette requested to merge dev/refactoring-synthesis into dev/add-transition
  1. Jun 16, 2023
  2. Jun 15, 2023
    • Jerome Mariette's avatar
      Add synthesis to scenario · f4c067c0
      Jerome Mariette authored
      f4c067c0
    • Jerome Mariette's avatar
      carbon synthesis: use a single field · 5a8ba6d2
      Jerome Mariette authored and Matt's avatar Matt committed
      We now use a single JSONField for storing the synthesis.  This json is
      sent by the frontend on every save action (save_buildings,
      save_travels...). In the current implementation it has to be complete
      (all the ges1.5 modules need to be on the passed json)
      
      We do our best to prevent non-valid json to be stored in this field.
      for this purpose we use jsonschema to validate any incoming synthesis.
      5a8ba6d2
Loading