Metadata-Version: 1.0
Name: wadofstuff-django-serializers
Version: 1.1.0
Summary: Extended serializers for Django.
Home-page: http://code.google.com/p/wadofstuff/
Author: Matthew Flanagan
Author-email: mattimustang@gmail.com
License: UNKNOWN
Download-URL: http://wadofstuff.googlecode.com/files/wadofstuff-django-serializers-1.1.0.tar.gz
Description: Extended Django Serializer Module
        =================================
        
        The wadofstuff.django.serializers python module extends Django's built-in
        serializers, adding 3 new capabilities inspired by the Ruby on Rails JSON
        serializer. These parameters allow the developer more control over how their
        models are serialized.
        
        The additional capabilities are:
        
        - excludes - a list of fields to be excluded from serialization. The
        excludes list takes precedence over the fields argument.
        - extras - a list of non-model field properties or callables to be
        serialized.
        - relations - a list or dictionary of model related fields to be followed
        and serialized.
        
        Example of serializing a relation
        ---------------------------------
        
        >>> serializers.serialize('json', Group.objects.all(), indent=4, relations=('permissions',))
        [
        {
        "pk": 2,
        "model": "auth.group",
        "fields": {
        "name": "session",
        "permissions": [
        {
        "pk": 19,
        "model": "auth.permission",
        "fields": {
        "codename": "add_session",
        "name": "Can add session",
        "content_type": 7
        }
        }
        ]
        }
        }
        ]
        
        What's new
        ==========
        
        Version 1.1.0:
        
        - Added support for "natural keys" as implemented in Django.
        
        Version 1.0.0:
        
        - First public release.
Keywords: django json serializer
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Utilities
Classifier: Framework :: Django
