File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ Custom ``history_id``
132
132
133
133
By default, the historical table of a model will use an ``AutoField `` for the table's
134
134
``history_id `` (the history table's primary key). However, you can specify a different
135
- type of field for ``history_id `` buy passing a different field to ``history_id_field ``
135
+ type of field for ``history_id `` by passing a different field to ``history_id_field ``
136
136
parameter.
137
137
138
138
A common use case for this would be to use a ``UUIDField ``. If you want to use a ``UUIDField ``
@@ -279,7 +279,7 @@ field ``history_change_reason`` and its default value is ``None``.
279
279
280
280
By default, the django-simple-history gets the change reason in the field ``changeReason `` of the instance. Also, is possible to pass
281
281
the ``changeReason `` explicitly. For this, after a save or delete in an instance, is necessary call the
282
- function ``utils.update_change_reason ``. The first argument of this function is the instance and the seccond
282
+ function ``utils.update_change_reason ``. The first argument of this function is the instance and the second
283
283
is the message that represents the change reason.
284
284
285
285
For instance, for the model:
You can’t perform that action at this time.
0 commit comments