Commit 8b5c4705 authored by Sharad Heft's avatar Sharad Heft
Browse files

Add a __str__ method for the Character model.

parent cd55bb80
......@@ -19,6 +19,9 @@ class Character(models.Model):
verbose_name = 'Character'
verbose_name_plural = 'Characters'
def __str__(self):
return self.name
class TESTOAuth2Data(models.Model):
user = models.OneToOneField(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment