app/django/db/models/sql/__init__.py
author Sverre Rabbelier <srabbelier@gmail.com>
Thu, 02 Apr 2009 23:06:15 +0000
changeset 2059 4037b147ed10
parent 54 03e267d67478
permissions -rw-r--r--
Make it possible to retrieve all properties in toDict We used to retrieve only the properties that are specified in the self.properties() dictionary, instead, we now iterate over the key_fields and only use self.properties() if those are not specified. Patch by: Sverre Rabbelier

from query import *
from subqueries import *
from where import AND, OR
from datastructures import EmptyResultSet

__all__ = ['Query', 'AND', 'OR', 'EmptyResultSet']