1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2026-05-02 05:00:58 +02:00

First version of the DjangoMigrationHandler. Created a LodelTestInstance for tests purpose

Some problems are still to solve (see the todo comments in EditorialModel/migrationhandler/django.py )
This commit is contained in:
Yann 2015-09-11 12:35:26 +02:00
commit 74f1de0f4b
8 changed files with 173 additions and 0 deletions

View file

@ -14,6 +14,7 @@ class DummyMigrationHandler(object):
## @brief Record a change in the EditorialModel and indicate wether or not it is possible to make it
# @note The states ( initial_state and new_state ) contains only fields that changes
# @param context model : The EditorialModel.model object to provide the global context
# @param uid int : The uid of the change EmComponent
# @param initial_state dict | None : dict with field name as key and field value as value. Representing the original state. None mean creation of a new component.
# @param new_state dict | None : dict with field name as key and field value as value. Representing the new state. None mean component deletion