Skip to content

Commit

Permalink
docs(development): History model update
Browse files Browse the repository at this point in the history
ref: #601 #605
  • Loading branch information
jon-nfc committed Feb 15, 2025
1 parent c659058 commit 327f0a5
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,14 @@ Most of the work has already been done, all that is required to add history to a

- Model

- Function `` added to audit model
- Function `get_serialized_model` added to audit model _(parent model only)_

- Function `get_serialized_child_model` added to audit model _(child model only)_

- _(child model only)_ model name added to list attribute in `core.models.model_history.ModelHistory.child_history_models`

!!! tip
To obtain the model name you can use the api at endpoint `api/v2/base/content_type` and then filtering by app_name and model. The value in the model field is what's required.


### Model
Expand Down

0 comments on commit 327f0a5

Please sign in to comment.