mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-04-11 23:30:58 +00:00
README tweaks
This commit is contained in:
parent
238571ed43
commit
115cdca933
1 changed files with 4 additions and 2 deletions
|
|
@ -91,8 +91,10 @@ field changes::
|
|||
STATUS = Choices('draft', 'published')
|
||||
|
||||
status = StatusField()
|
||||
status_changed = models.MonitorField(monitor='status')
|
||||
|
||||
status_changed = MonitorField(monitor='status')
|
||||
|
||||
(A ``MonitorField`` can monitor any type of field for changes, not only a
|
||||
``StatusField``.)
|
||||
|
||||
SplitField
|
||||
==========
|
||||
|
|
|
|||
Loading…
Reference in a new issue