Fix backup restore
- Mar 20, 2018
-
-
Samuel GAIST authored
This ensure that whatever the outcome of the tests, the prefix is cleaned up. Currently these are piling up in the /var/tmp folder.
-
Samuel GAIST authored
-
Samuel GAIST authored
-
Samuel GAIST authored
-
Samuel GAIST authored
-
Samuel GAIST authored
-
Samuel GAIST authored
-
Samuel GAIST authored
The natural key generate was using a tuple in a tuple (which is good) however the get_by_natural_key method was expecting a flat tuple.
-
Samuel GAIST authored
This allows Django to serialize the database content in the correct order.
-
Samuel GAIST authored
-
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.
-