Skip to content

Commit

Permalink
missing unicode support for notification model
Browse files Browse the repository at this point in the history
  • Loading branch information
miratcan committed Dec 26, 2012
1 parent 4c0a83d commit 87c7d38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions notifications/models.py
Expand Up @@ -126,11 +126,11 @@ def __unicode__(self):
}
if self.target:
if self.action_object:
return '%(actor)s %(verb)s %(action_object)s on %(target)s %(timesince)s ago' % ctx
return '%(actor)s %(verb)s %(target)s %(timesince)s ago' % ctx
return u'%(actor)s %(verb)s %(action_object)s on %(target)s %(timesince)s ago' % ctx
return u'%(actor)s %(verb)s %(target)s %(timesince)s ago' % ctx
if self.action_object:
return '%(actor)s %(verb)s %(action_object)s %(timesince)s ago' % ctx
return '%(actor)s %(verb)s %(timesince)s ago' % ctx
return u'%(actor)s %(verb)s %(action_object)s %(timesince)s ago' % ctx
return u'%(actor)s %(verb)s %(timesince)s ago' % ctx

def timesince(self, now=None):
"""
Expand Down

0 comments on commit 87c7d38

Please sign in to comment.