We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7fea5d3 + 6431997 commit 33c3669Copy full SHA for 33c3669
docs/advanced.md
@@ -23,9 +23,9 @@ class UserAccount(LifecycleModel):
23
marital_status = models.CharField(max_length=100)
24
25
@hook(AFTER_UPDATE)
26
- def on_name_change_heck_on_marietal_status(self):
27
- if self.has_changed('last_name') and not self.has_changed('marietal_status'):
28
- send_mail(to=self.email, "Has your marietal status changed recently?")
+ def on_name_change_heck_on_marital_status(self):
+ if self.has_changed('last_name') and not self.has_changed('marital_status'):
+ send_mail(to=self.email, "Has your marital status changed recently?")
29
30
```
31
0 commit comments