Skip to content

Commit

Permalink
Closes #16.
Browse files Browse the repository at this point in the history
  • Loading branch information
seldon committed Oct 21, 2011
1 parent a819e44 commit a70142d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flexi_auth/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def __init__(self, model_or_instance, context=None):
self.model_or_instance = model_or_instance
self.context = context or {}

def __str__(self):
return "Object '%(obj)s' with context '%(ctx)s'" % {'obj':self.model_or_instance, 'ctx':self.context}
def __unicode__(self):
return _(u"Object '%(obj)s' with context '%(ctx)s'" % {'obj':self.model_or_instance, 'ctx':self.context})


class PermissionBase(object):
Expand Down

0 comments on commit a70142d

Please sign in to comment.