{ "info": { "author": "Raphael Michel", "author_email": "mail@raphaelmichel.de", "bugtrack_url": null, "classifiers": [ "Framework :: Django :: 2.1", "Intended Audience :: Developers", "Intended Audience :: Other Audience", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "JSONField with fallback for Django\n==================================\n\n.. image:: https://img.shields.io/pypi/v/django-jsonfallback.svg\n :target: https://pypi.python.org/pypi/django-jsonfallback\n\n.. image:: https://travis-ci.com/raphaelm/django-jsonfallback.svg?branch=master\n :target: https://travis-ci.com/raphaelm/django-jsonfallback\n\n.. image:: https://codecov.io/gh/raphaelm/django-jsonfallback/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/raphaelm/django-jsonfallback\n\nThis is an extension to ``django.contrib.postgres.fields.JSONField``, that works on other\ndatabases than PostgreSQL.\n\n* On **MySQL** and **MariaDB**, it uses the native JSON data type and supports most features.\n* On **SQLite** and all other databases, it just stores JSON strings in a text field and does not support querying.\n\nThis is tested against:\n\n* Python 3.4 to 3.6\n* Django 2.0 to 2.1\n* MySQL 5.7\n* MariaDB 10.3\n* PostgreSQL 9.4\n* SQLite (no querying funcationality)\n\nUsage\n-----\n\nJust use our drop-in replacement for JSONField::\n\n from django.db import models\n from jsonfallback.fields import FallbackJSONField\n\n\n class Book(models.Model):\n data = FallbackJSONField()\n\n def __str__(self):\n return str(self.data['title'])\n\n\nLicense\n-------\nThe code in this repository is published under the terms of the Apache License. \nSee the LICENSE file for the complete license text.\n\nThis project is maintained by Raphael Michel . See the\nAUTHORS file for a list of all the awesome folks who contributed to this project.\n\n.. _pretix: https://github.com/pretix/pretix\n.. _django: https://www.djangoproject.com/\n.. _django-hvad: https://github.com/KristianOellegaard/django-hvad\n.. _django-modeltranslation: https://github.com/deschler/django-modeltranslation\n.. _django-parler: https://github.com/django-parler/django-parler\n.. _nece: https://pypi.python.org/pypi/nece\n.. _1NF: https://en.wikipedia.org/wiki/First_normal_form\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/raphaelm/django-jsonfallback", "keywords": "json database models", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "django-jsonfallback", "package_url": "https://pypi.org/project/django-jsonfallback/", "platform": "", "project_url": "https://pypi.org/project/django-jsonfallback/", "project_urls": { "Homepage": "https://github.com/raphaelm/django-jsonfallback" }, "release_url": "https://pypi.org/project/django-jsonfallback/2.1.2/", "requires_dist": [ "django-mysql" ], "requires_python": "", "summary": "JSONField from django.contrib.postgres, but with a fallback to TextField", "version": "2.1.2" }, "last_serial": 5153869, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "645b8659f891c9b4d043d0841f9f9b7e", "sha256": "f6fdfe2b56331a23da2e65e306db0362f2070d2bbabccf4063c4a792fbb7b704" }, "downloads": -1, "filename": "django_jsonfallback-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "645b8659f891c9b4d043d0841f9f9b7e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8399, "upload_time": "2018-10-16T23:26:18", "url": "https://files.pythonhosted.org/packages/11/15/85b9c0636f074bcc130294b35f4441bde84d3f623ecdb048f5e2247d0ecd/django_jsonfallback-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "429d06712d96ba2bb4756e13879e839a", "sha256": "c9abc55913323ef740c3e58f2a8932feb7565a3408e618d959e22eca84a612ae" }, "downloads": -1, "filename": "django-jsonfallback-1.0.0.tar.gz", "has_sig": false, "md5_digest": "429d06712d96ba2bb4756e13879e839a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3768, "upload_time": "2018-10-16T23:26:19", "url": "https://files.pythonhosted.org/packages/31/8c/9477aca49d8e143378492287fe395ee8a359229291d4456b33e13e13b7ef/django-jsonfallback-1.0.0.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "17c2e0c6fe5c460460b538864b606e51", "sha256": "40410408d3d32d7b91a9f729602a08ba62f4f8ff47e8628238daa4db76abf59c" }, "downloads": -1, "filename": "django_jsonfallback-2.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "17c2e0c6fe5c460460b538864b606e51", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10190, "upload_time": "2018-10-20T04:13:14", "url": "https://files.pythonhosted.org/packages/e6/77/49fe2461ee1ef83b4352f0dec65d1051e8e5c85752c4c771155cea3deb3c/django_jsonfallback-2.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8c0175d56d98296233325570726d9b3e", "sha256": "72a5cfaae3732bb7d822ea4d8e52e28ecfcd5372f8d4658bf81392e2d1dd19fc" }, "downloads": -1, "filename": "django-jsonfallback-2.0.0.tar.gz", "has_sig": false, "md5_digest": "8c0175d56d98296233325570726d9b3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5556, "upload_time": "2018-10-20T04:13:16", "url": "https://files.pythonhosted.org/packages/6d/d1/04a81cc7113887a8ed4c903b1c6e1c7cc9ad9b4368cf7806627b60de796a/django-jsonfallback-2.0.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "04651a41fe8c48fc792177e260755c74", "sha256": "c1d1cf727a754959ce44714d334a0cb9b5c961314ad23f882e7892e1dff1f76c" }, "downloads": -1, "filename": "django_jsonfallback-2.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "04651a41fe8c48fc792177e260755c74", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10189, "upload_time": "2018-10-23T00:25:41", "url": "https://files.pythonhosted.org/packages/53/3e/e83310c91548a0cc76ff19fa747846636fce9e33645a734f3789b906954c/django_jsonfallback-2.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7cac5d78f35499220972edd82814ec4", "sha256": "b8408c8f88800bc860454974b3552b5ad6afa5ea100cebc5af5e2e4bc30e2f39" }, "downloads": -1, "filename": "django-jsonfallback-2.0.1.tar.gz", "has_sig": false, "md5_digest": "b7cac5d78f35499220972edd82814ec4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5554, "upload_time": "2018-10-23T00:25:43", "url": "https://files.pythonhosted.org/packages/43/19/4aa9e570f88cc3c3fcb103d386733ef2019301998953cd9a89fd5ede9a5d/django-jsonfallback-2.0.1.tar.gz" } ], "2.1.0": [ { "comment_text": "", "digests": { "md5": "e31e90fc0e26f308ce3124343766b259", "sha256": "52b738588fab5eb4720b144f6a4f55d88738a1c66243ec873ae33e72fa42902c" }, "downloads": -1, "filename": "django_jsonfallback-2.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e31e90fc0e26f308ce3124343766b259", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11050, "upload_time": "2018-10-23T01:20:17", "url": "https://files.pythonhosted.org/packages/d6/98/b1f3b886c6c664bc6e38a36acadbe22910c49e01cd385d2f3455e40f2e9f/django_jsonfallback-2.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7b83d2bbf0f1e69ecf5e7bc37d9d7e2d", "sha256": "acb7f7536fb0b4eb523cc6dfcc436c8150b6d2fc454d341b3602ca98052e1264" }, "downloads": -1, "filename": "django-jsonfallback-2.1.0.tar.gz", "has_sig": false, "md5_digest": "7b83d2bbf0f1e69ecf5e7bc37d9d7e2d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6017, "upload_time": "2018-10-23T01:20:18", "url": "https://files.pythonhosted.org/packages/15/ff/a7d46ffc4db8c8983141763851d5d9d11f2e15c4d50f67afd88bc2c01ec9/django-jsonfallback-2.1.0.tar.gz" } ], "2.1.1": [ { "comment_text": "", "digests": { "md5": "c920792629dc51b38def02ba65f5a89c", "sha256": "85000fa56c9dfde668b0ea72f947f78361833e2adcfcf5e3cc82ce9556664c8c" }, "downloads": -1, "filename": "django_jsonfallback-2.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c920792629dc51b38def02ba65f5a89c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6455, "upload_time": "2019-02-06T08:59:18", "url": "https://files.pythonhosted.org/packages/52/5f/dacdf180dc5e85ae91994a4247de6745e78973d2552ceb0c9f0533f548bc/django_jsonfallback-2.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5c8c568f3bc20586cc3091e6abdb6caf", "sha256": "9d05c0a0072e7c598eafb6a6b4aa5742b05eba4f125d0244b84e8b6b7ab49ad0" }, "downloads": -1, "filename": "django-jsonfallback-2.1.1.tar.gz", "has_sig": false, "md5_digest": "5c8c568f3bc20586cc3091e6abdb6caf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5987, "upload_time": "2019-02-06T08:59:20", "url": "https://files.pythonhosted.org/packages/16/23/5697b8365c186ca6240414d3e1b34760f227040abb6ec614ead1f740da3e/django-jsonfallback-2.1.1.tar.gz" } ], "2.1.2": [ { "comment_text": "", "digests": { "md5": "e2df262fd92cf1ccf4736b2aaf7866d0", "sha256": "ab17e6d854924b419a6bec7d98ca01f30e043c63ee560f6eaa7f5ab73324e85b" }, "downloads": -1, "filename": "django_jsonfallback-2.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "e2df262fd92cf1ccf4736b2aaf7866d0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6448, "upload_time": "2019-02-07T13:58:18", "url": "https://files.pythonhosted.org/packages/19/c4/4f2257e015ecfa4310ef0ac1a045f4ba31a847eae4ff9c3d1ac23a69cf3d/django_jsonfallback-2.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5041c67c5127507f48eab462224944d6", "sha256": "0132c655e422e382a8a6b0d11319f5655e25fa6eb225ad10c0a05584c5fa1a0e" }, "downloads": -1, "filename": "django-jsonfallback-2.1.2.tar.gz", "has_sig": false, "md5_digest": "5041c67c5127507f48eab462224944d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5983, "upload_time": "2019-02-07T13:58:19", "url": "https://files.pythonhosted.org/packages/61/66/76401cb44b2a1882db71764709f93b324a5e36b8d53b7359c75766e5e0a8/django-jsonfallback-2.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e2df262fd92cf1ccf4736b2aaf7866d0", "sha256": "ab17e6d854924b419a6bec7d98ca01f30e043c63ee560f6eaa7f5ab73324e85b" }, "downloads": -1, "filename": "django_jsonfallback-2.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "e2df262fd92cf1ccf4736b2aaf7866d0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6448, "upload_time": "2019-02-07T13:58:18", "url": "https://files.pythonhosted.org/packages/19/c4/4f2257e015ecfa4310ef0ac1a045f4ba31a847eae4ff9c3d1ac23a69cf3d/django_jsonfallback-2.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5041c67c5127507f48eab462224944d6", "sha256": "0132c655e422e382a8a6b0d11319f5655e25fa6eb225ad10c0a05584c5fa1a0e" }, "downloads": -1, "filename": "django-jsonfallback-2.1.2.tar.gz", "has_sig": false, "md5_digest": "5041c67c5127507f48eab462224944d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5983, "upload_time": "2019-02-07T13:58:19", "url": "https://files.pythonhosted.org/packages/61/66/76401cb44b2a1882db71764709f93b324a5e36b8d53b7359c75766e5e0a8/django-jsonfallback-2.1.2.tar.gz" } ] }