  # coding: utf-8
  import pickle
  
  from django.db import connection, models, DEFAULT_DB_ALIAS
  from django.conf import settings
  
  
  class Author(models.Model):
      name = models.CharField(max_length=100)
      age = models.IntegerField()
 
</s> remove from django.db import DEFAULT_DB_ALIAS
 </s> add  </s> remove from django.conf import settings
 </s> add  </s> remove from regressiontests.aggregation_regress.models import *
 </s> add from models import Author, Book, Publisher, Clues, Entries, HardbackBook
from django.db import models
  # coding: utf-8
from django.db import models
from django.db import models
from django.db import models
from django.db import models
  
  
  class Author(models.Model):
      name = models.CharField(max_length=100)
      age = models.IntegerField()
keep replace replace replace replace keep keep keep keep keep
 Fixed #14754 -- corrected using an aggregate in an F expressions when that queryset is later used in a subquery.  Thanks to master for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14681 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
tests/regressiontests/aggregation_regress/models.py