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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user