Commit a1a300c08913167542f88cb5a88b16527f422f4e

Authored by Gustavo Bernardo
1 parent b4415117

Modified verbose name [Issue:#398]

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
core/models.py
@@ -86,13 +86,13 @@ class Notification(models.Model): @@ -86,13 +86,13 @@ class Notification(models.Model):
86 @action_resource: The Object that holds the information about which action was perfomed on the Resource 86 @action_resource: The Object that holds the information about which action was perfomed on the Resource
87 @actor: The user who applied the action 87 @actor: The user who applied the action
88 """ 88 """
89 - 89 +
90 message = models.TextField(_('Message')) 90 message = models.TextField(_('Message'))
91 user = models.ForeignKey(User, related_name = _('%(class)s_Actor'), verbose_name= _('User')) 91 user = models.ForeignKey(User, related_name = _('%(class)s_Actor'), verbose_name= _('User'))
92 read = models.BooleanField(_('Read'), default = False) 92 read = models.BooleanField(_('Read'), default = False)
93 datetime = models.DateTimeField(_("Date and Time of action"), auto_now_add = True) 93 datetime = models.DateTimeField(_("Date and Time of action"), auto_now_add = True)
94 action_resource = models.ForeignKey(Action_Resource, verbose_name = _('Action_Resource')) 94 action_resource = models.ForeignKey(Action_Resource, verbose_name = _('Action_Resource'))
95 - actor = models.ForeignKey(User, related_name = _('%(class)s_Performer'), verbose_name= _('Perfomer'), null = True) 95 + actor = models.ForeignKey(User, related_name = _('%(class)s_Performer'), verbose_name= _('Performer'), null = True)
96 96
97 class Meta: 97 class Meta:
98 verbose_name = _("Notification") 98 verbose_name = _("Notification")