{ "info": { "author": "Matthew Flanagan", "author_email": "mattimustang@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Utilities" ], "description": "Extended Django Serializer Module\n=================================\n\nThe wadofstuff.django.serializers python module extends Django's built-in\nserializers, adding 3 new capabilities inspired by the Ruby on Rails JSON\nserializer. These parameters allow the developer more control over how their\nmodels are serialized.\n\nThe additional capabilities are:\n\n- excludes - a list of fields to be excluded from serialization. The\n excludes list takes precedence over the fields argument.\n- extras - a list of non-model field properties or callables to be\n serialized.\n- relations - a list or dictionary of model related fields to be followed\n and serialized.\n\nExample of serializing a relation\n---------------------------------\n\n >>> serializers.serialize('json', Group.objects.all(), indent=4, relations=('permissions',))\n [\n {\n \"pk\": 2,\n \"model\": \"auth.group\",\n \"fields\": {\n \"name\": \"session\",\n \"permissions\": [\n {\n \"pk\": 19,\n \"model\": \"auth.permission\",\n \"fields\": {\n \"codename\": \"add_session\",\n \"name\": \"Can add session\",\n \"content_type\": 7\n }\n }\n ]\n }\n }\n ]\n\nWhat's new\n==========\n\nVersion 1.1.0:\n\n- Added support for \"natural keys\" as implemented in Django.\n\nVersion 1.0.0:\n\n- First public release.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/mattimustang/wadofstuff/archive/wadofstuff-django-serializer-1.1.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mattimustang/wadofstuff/tree/master/python/serializer", "keywords": "django json serializer", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "wadofstuff-django-serializers", "package_url": "https://pypi.org/project/wadofstuff-django-serializers/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/wadofstuff-django-serializers/", "project_urls": { "Download": "https://github.com/mattimustang/wadofstuff/archive/wadofstuff-django-serializer-1.1.0.tar.gz", "Homepage": "https://github.com/mattimustang/wadofstuff/tree/master/python/serializer" }, "release_url": "https://pypi.org/project/wadofstuff-django-serializers/1.1.0/", "requires_dist": null, "requires_python": null, "summary": "Extended serializers for Django.", "version": "1.1.0" }, "last_serial": 2451970, "releases": { "1.0.0": [], "1.1.0": [ { "comment_text": "", "digests": { "md5": "5a934ba7bbab2d6ada114602e6074e85", "sha256": "3c66d932b4919ce2b0e46585c487c7e4c02cd398b945e364bcdcf9f16d601d35" }, "downloads": -1, "filename": "wadofstuff-django-serializers-1.1.0.tar.gz", "has_sig": false, "md5_digest": "5a934ba7bbab2d6ada114602e6074e85", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5363, "upload_time": "2016-11-09T23:09:54", "url": "https://files.pythonhosted.org/packages/04/a1/33ff36b3e6060ba3f3a08e540406cc2aa28358b114851332189e0d66beb5/wadofstuff-django-serializers-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5a934ba7bbab2d6ada114602e6074e85", "sha256": "3c66d932b4919ce2b0e46585c487c7e4c02cd398b945e364bcdcf9f16d601d35" }, "downloads": -1, "filename": "wadofstuff-django-serializers-1.1.0.tar.gz", "has_sig": false, "md5_digest": "5a934ba7bbab2d6ada114602e6074e85", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5363, "upload_time": "2016-11-09T23:09:54", "url": "https://files.pythonhosted.org/packages/04/a1/33ff36b3e6060ba3f3a08e540406cc2aa28358b114851332189e0d66beb5/wadofstuff-django-serializers-1.1.0.tar.gz" } ] }