diff options
Diffstat (limited to 'tests/custom_pk/models.py')
| -rw-r--r-- | tests/custom_pk/models.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/custom_pk/models.py b/tests/custom_pk/models.py index d9a73885f2..000ea7a29d 100644 --- a/tests/custom_pk/models.py +++ b/tests/custom_pk/models.py @@ -11,12 +11,12 @@ from .fields import MyAutoField, MyWrapperField class Employee(models.Model): - employee_code = models.IntegerField(primary_key=True, db_column='code') + employee_code = models.IntegerField(primary_key=True, db_column="code") first_name = models.CharField(max_length=20) last_name = models.CharField(max_length=20) class Meta: - ordering = ('last_name', 'first_name') + ordering = ("last_name", "first_name") def __str__(self): return "%s %s" % (self.first_name, self.last_name) @@ -27,7 +27,7 @@ class Business(models.Model): employees = models.ManyToManyField(Employee) class Meta: - verbose_name_plural = 'businesses' + verbose_name_plural = "businesses" class Bar(models.Model): |
