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:
parent
17c1eba918
commit
74f1de0f4b
8 changed files with 173 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue