Remove __unicode__ magic methods no longer needed
This commit is contained in:
parent
c3df77b678
commit
7a535b35fa
8 changed files with 10 additions and 29 deletions
|
|
@ -138,7 +138,7 @@ class AccountDB(TypedObject, AbstractUser):
|
|||
def __str__(self):
|
||||
return smart_str("%s(account %s)" % (self.name, self.dbid))
|
||||
|
||||
def __unicode__(self):
|
||||
def __repr__(self):
|
||||
return "%s(account#%s)" % (self.name, self.dbid)
|
||||
|
||||
#@property
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue