mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
@@ -15,6 +15,7 @@ class Employee(models.Model):
|
||||
def __str__(self):
|
||||
return '%s %s' % (self.firstname, self.lastname)
|
||||
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class Company(models.Model):
|
||||
name = models.CharField(max_length=100)
|
||||
|
||||
Reference in New Issue
Block a user