mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
@@ -117,6 +117,7 @@ class FunPerson(models.Model):
|
||||
def __str__(self):
|
||||
return "%s %s" % (self.first_name, self.last_name)
|
||||
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class Book(models.Model):
|
||||
title = models.CharField(max_length=50)
|
||||
|
||||
Reference in New Issue
Block a user