Switch to using __unicode__ and django's smart __str__ handling, also added permalinks for HR models

This commit is contained in:
2010-12-07 11:02:18 +00:00
parent 9e6544062c
commit dcac0e24b0
4 changed files with 20 additions and 23 deletions

View File

@@ -73,6 +73,3 @@ class RedditAccount(models.Model):
def __unicode__(self):
return self.username
def __str__(self):
return self.__unicode__()