{ "info": { "author": "See README.md", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [], "description": "VLK JSONField\n=============\n\nA model JSONField with an integrated form for django.\n\nBefore doing this app we looked up for a JSONField implementation, but all that we have found had nothing that fit our needs. Our needs are just a model field to store a json string and a form that is able to validate user input against our json fields requirements.\n\nInstallation\n------------\n\nJust copy this project to any folder in your computer or use pip.\n\n pip install vlk-django-jsonfield\n\nUsage\n-----\n\n### Model\n\nTo create your JSONField just use the same notation as an usual model field:\n\n jsonfield = VLKJSONField(null=True, default=lambda: {'field1': False, 'field2': 'abc'})\n\n[You must use lambda when using a dict as default] (https://docs.djangoproject.com/en/dev/ref/models/fields/#default)\n\n### Form\n\nTo use this field in a form just use the form field with the same name of your model field and the subname separated by `__`:\n\n jsonfield__field1 = forms.CharField()\n jsonfield__field2 = forms.IntegerField(required=False)\n\nThe right side is the usual of a form field.\n\nWho is using\n------------\n\nThis project is used in Vialink software since January, 2013. Are you using it? Let us know :)\n\nContributing\n------------\n\nDo the usual github fork and pull request dance.\n\nAuthors\n-------\n\n* 2013 [Pedro Ferreira] (https://github.com/pedroferreira1)\n* 2013 [Patr\u00edcia Borges] (https://github.com/patriciaborges)\n* 2013 [Marcelo Salhab Brogliato] (https://github.com/msbrogli)\n* 2013 [Jan Segre] (https://github.com/jansegre)\n\nLicense\n-------\n\nReleased under the MIT license. Read LICENSE.md for more information.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/vialink/vlk-django-jsonfield", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "vlk-django-jsonfield", "package_url": "https://pypi.org/project/vlk-django-jsonfield/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/vlk-django-jsonfield/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/vialink/vlk-django-jsonfield" }, "release_url": "https://pypi.org/project/vlk-django-jsonfield/1.2.1/", "requires_dist": null, "requires_python": null, "summary": "A model JSONField with an integrated form for django.", "version": "1.2.1" }, "last_serial": 947031, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "48afe5249a446477b1448f7171938d03", "sha256": "1db4436ac1796538265ad5dcfdd6388dc085b7852ec735c5dbe5fc979b22842c" }, "downloads": -1, "filename": "vlk-django-jsonfield-1.0.tar.gz", "has_sig": false, "md5_digest": "48afe5249a446477b1448f7171938d03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3689, "upload_time": "2013-04-09T00:23:41", "url": "https://files.pythonhosted.org/packages/f3/0e/f6e9fa3b411116f0f076188d04b72c0d138d931507daf14ec25592297590/vlk-django-jsonfield-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "2753d101abdb6d8f5e5743ce875afded", "sha256": "5691bce7d47b1799148b96d697e4a755ef9df2dbf0299b54525e4d540ac54b39" }, "downloads": -1, "filename": "vlk-django-jsonfield-1.1.tar.gz", "has_sig": false, "md5_digest": "2753d101abdb6d8f5e5743ce875afded", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3716, "upload_time": "2013-04-09T03:17:01", "url": "https://files.pythonhosted.org/packages/61/a7/a33db44693d20c88e012d3f647034ce8b0b5355d5d20fb22cd484aa7f54b/vlk-django-jsonfield-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "1638237884d2dbb5a1ee12221ff2e436", "sha256": "b40f9bab5e17e074f4871ecd55d88e24d35afd2134e22975b2158dcf636e7e42" }, "downloads": -1, "filename": "vlk-django-jsonfield-1.2.tar.gz", "has_sig": false, "md5_digest": "1638237884d2dbb5a1ee12221ff2e436", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3727, "upload_time": "2013-12-17T18:25:52", "url": "https://files.pythonhosted.org/packages/b4/1f/f5e3fce96fe0a26cb26bdd20cdb2e7d05ac9ddc37b09c8a64819464d768a/vlk-django-jsonfield-1.2.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "c639791367758b9340105b5bccef198c", "sha256": "3cc6081b26970dfd721b628f8ab81d977c4476b7462140673452632d4dc83070" }, "downloads": -1, "filename": "vlk-django-jsonfield-1.2.1.tar.gz", "has_sig": false, "md5_digest": "c639791367758b9340105b5bccef198c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3730, "upload_time": "2013-12-17T18:27:02", "url": "https://files.pythonhosted.org/packages/02/72/9787c0de74d565c0329f8d0215b50b04171032b659d49e1c63b7bdab8e66/vlk-django-jsonfield-1.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c639791367758b9340105b5bccef198c", "sha256": "3cc6081b26970dfd721b628f8ab81d977c4476b7462140673452632d4dc83070" }, "downloads": -1, "filename": "vlk-django-jsonfield-1.2.1.tar.gz", "has_sig": false, "md5_digest": "c639791367758b9340105b5bccef198c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3730, "upload_time": "2013-12-17T18:27:02", "url": "https://files.pythonhosted.org/packages/02/72/9787c0de74d565c0329f8d0215b50b04171032b659d49e1c63b7bdab8e66/vlk-django-jsonfield-1.2.1.tar.gz" } ] }