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

[1.2.X] 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. Backport of [14681].

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Alex Gaynor
2010-11-22 18:02:33 +00:00
parent 56b9e0c45f
commit c2de746ea5
3 changed files with 25 additions and 10 deletions

View File

@@ -1,8 +1,5 @@
# coding: utf-8
import pickle
from django.db import connection, models, DEFAULT_DB_ALIAS
from django.conf import settings
from django.db import models
class Author(models.Model):
@@ -49,7 +46,6 @@ class Store(models.Model):
def __unicode__(self):
return self.name
class Entries(models.Model):
EntryID = models.AutoField(primary_key=True, db_column='Entry ID')
Entry = models.CharField(unique=True, max_length=50)