app/django/db/models/sql/__init__.py
author Lennard de Rijk <ljvderijk@gmail.com>
Thu, 12 Feb 2009 22:52:16 +0000
changeset 1287 9b18d612510a
parent 54 03e267d67478
permissions -rw-r--r--
Added check_field_is_empty decorator to cleaning.py. This makes sure the cleaning checks are skipped when a field is empty. Note that Djanog will raise it's own ValidationError when a required field is empty before attempting to clean it. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed.

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

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