Fix typo
This commit is contained in:
parent
2cbd3960d7
commit
e7c79578d4
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class Notification(models.Model):
|
||||||
content = models.TextField()
|
content = models.TextField()
|
||||||
recipient = models.ForeignKey(get_user_model(), models.CASCADE)
|
recipient = models.ForeignKey(get_user_model(), models.CASCADE)
|
||||||
app = models.CharField(max_length=64, null=True, blank=True)
|
app = models.CharField(max_length=64, null=True, blank=True)
|
||||||
data = model.CharField(max_length=128, null=True, blank=True)
|
data = models.CharField(max_length=128, null=True, blank=True)
|
||||||
|
|
||||||
def send(self):
|
def send(self):
|
||||||
for dispatcher in self.notificationdispatcher_set.all():
|
for dispatcher in self.notificationdispatcher_set.all():
|
||||||
|
|
Loading…
Reference in a new issue