1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

[1.11.x] Fixed #28689 -- Fixed unquoted table names in Subquery SQL when using OuterRef.

Regression in f48bc7c3db.

Backport of 81e357a7e1 from master
This commit is contained in:
Mariusz Felisiak
2017-10-25 21:52:38 +02:00
parent e98ae4fe6b
commit 11f6d43566
4 changed files with 10 additions and 1 deletions

View File

@@ -56,6 +56,7 @@ class Experiment(models.Model):
end = models.DateTimeField()
class Meta:
db_table = 'expressions_ExPeRiMeNt'
ordering = ('name',)
def duration(self):