Skip to content
Snippets Groups Projects
  • Samuel GAIST's avatar
    56179b2d
    [experiments][model] Fixed BlockInput backup/restore · 56179b2d
    Samuel GAIST authored
    Database hash doesn't exists anymore and rather than generating
    natural keys that trigger the creation of get_by_natural_key
    methods with way too many parameters, use tuples in tuples. This
    make the code clearer to read as well as easier to maintain if the
    natural key of a related field changes.
    56179b2d
    History
    [experiments][model] Fixed BlockInput backup/restore
    Samuel GAIST authored
    Database hash doesn't exists anymore and rather than generating
    natural keys that trigger the creation of get_by_natural_key
    methods with way too many parameters, use tuples in tuples. This
    make the code clearer to read as well as easier to maintain if the
    natural key of a related field changes.