1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #28289 -- Fixed crash of RawSQL annotations on inherited model fields.

This commit is contained in:
can
2019-07-10 15:07:48 +03:00
committed by Mariusz Felisiak
parent a9c6ab0356
commit 52545e788d
3 changed files with 33 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ class Store(models.Model):
books = models.ManyToManyField(Book)
original_opening = models.DateTimeField()
friday_night_closing = models.TimeField()
area = models.IntegerField(null=True, db_column='surface')
def __str__(self):
return self.name