diff options
Diffstat (limited to 'tests/null_fk/models.py')
| -rw-r--r-- | tests/null_fk/models.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/null_fk/models.py b/tests/null_fk/models.py index 01f69c1807..13a425f646 100644 --- a/tests/null_fk/models.py +++ b/tests/null_fk/models.py @@ -32,7 +32,8 @@ class Comment(models.Model): comment_text = models.CharField(max_length=250) class Meta: - ordering = ('comment_text',) + ordering = ("comment_text",) + # Ticket 15823 @@ -46,6 +47,6 @@ class PropertyValue(models.Model): class Property(models.Model): - item = models.ForeignKey(Item, models.CASCADE, related_name='props') + item = models.ForeignKey(Item, models.CASCADE, related_name="props") key = models.CharField(max_length=100) value = models.ForeignKey(PropertyValue, models.SET_NULL, null=True) |
