mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-16 20:00:23 +00:00
Update utilities.rst
Fix typo FieldsTracker --> FieldTracker
This commit is contained in:
parent
52d728cc08
commit
f12701030b
1 changed files with 1 additions and 1 deletions
|
|
@ -371,7 +371,7 @@ like in example above, but does not help when model ``save`` method is overridde
|
|||
|
||||
class MyModel(models.Model)
|
||||
name = models.CharField(max_length=64)
|
||||
tracker = FieldsTracker()
|
||||
tracker = FieldTracker()
|
||||
|
||||
def save(self): # erroneous implementation
|
||||
self.name = self.name.replace(' ', '_')
|
||||
|
|
|
|||
Loading…
Reference in a new issue