Added easy to read strings to the models

This commit is contained in:
Raynaldo Rivera
2014-10-16 23:38:36 -07:00
parent 4e16fbbe73
commit ac7cd5670f
2 changed files with 9 additions and 0 deletions

View File

@@ -13,3 +13,6 @@ class AuthServicesInfo(models.Model):
main_char_id = models.CharField(max_length=64, default="")
user = models.ForeignKey(User)
def __str__(self):
return self.user.username