Skip to content

Commit d11e393

Browse files
vshihRoss Mechanic
authored andcommitted
Spelling. (#374)
1 parent 01fb6d9 commit d11e393

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/advanced.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Custom ``history_id``
132132

133133
By default, the historical table of a model will use an ``AutoField`` for the table's
134134
``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``
136136
parameter.
137137

138138
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``.
279279

280280
By default, the django-simple-history gets the change reason in the field ``changeReason`` of the instance. Also, is possible to pass
281281
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
283283
is the message that represents the change reason.
284284

285285
For instance, for the model:

0 commit comments

Comments
 (0)