Package pyamf :: Package adapters :: Module _django_db_models_query

[hide private]
[frames] | no frames]

# Source Code for Module pyamf.adapters._django_db_models_query

     1  # Copyright (c) 2007-2009 The PyAMF Project.
     2  # See LICENSE for details.
     3
     4  """
     5  Django query adapter module.
     6
     7  Sets up basic type mapping and class mappings for a
     8  Django models.
     9
    10  @see: U{Django Project<http://www.djangoproject.com>}
    11  @since: 0.1b
    12  """
    13
    14  from django.db.models import query
    15
    16  import pyamf
    17  from pyamf.adapters import util
    18
    19  pyamf.add_type(query.QuerySet, util.to_list)
    20