summaryrefslogtreecommitdiff
path: root/django/db/models/__init__.py
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2009-01-29 10:46:36 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2009-01-29 10:46:36 +0000
commitcf37e4624a967f936ecbb5a4eefc9d38ed9d7892 (patch)
treee44fab9a21ccdf130d85b6fb80c423181663f103 /django/db/models/__init__.py
parent08dd4176edc1019d9168608b55fe777512c641cb (diff)
Fixed #7210 -- Added F() expressions to query language. See the documentation for details on usage.
Many thanks to: * Nicolas Lara, who worked on this feature during the 2008 Google Summer of Code. * Alex Gaynor for his help debugging and fixing a number of issues. * Malcolm Tredinnick for his invaluable review notes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/models/__init__.py')
-rw-r--r--django/db/models/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/models/__init__.py b/django/db/models/__init__.py
index 0802f8695e..c28bce86bf 100644
--- a/django/db/models/__init__.py
+++ b/django/db/models/__init__.py
@@ -3,6 +3,7 @@ from django.core.exceptions import ObjectDoesNotExist, ImproperlyConfigured
from django.db import connection
from django.db.models.loading import get_apps, get_app, get_models, get_model, register_models
from django.db.models.query import Q
+from django.db.models.expressions import F
from django.db.models.manager import Manager
from django.db.models.base import Model
from django.db.models.aggregates import *