mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Switch to using __unicode__ and django's smart __str__ handling, also added permalinks for HR models
This commit is contained in:
@@ -73,6 +73,3 @@ class RedditAccount(models.Model):
|
||||
|
||||
def __unicode__(self):
|
||||
return self.username
|
||||
|
||||
def __str__(self):
|
||||
return self.__unicode__()
|
||||
|
||||
Reference in New Issue
Block a user