{ "info": { "author": "Rob Mecham", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-useful-fields\n====================\n\n| I found myself copying a few Django database field classes from project to project so I decided to bundle them together\n| and release them as an open source package instead. Here are the fields that are currently included:\n\n- **TimeZoneField**\n\n | This field stores a reference to a time zone in the database and automatically instantiates the correct pytz time\n | zone object on retrieval. Useful for recording a user\u2019s default time zone.\n\n- **MarkdownCharField**\n\n | This field is meant to be used in collaboration with a regular CharField. The regular CharField stores the Markdown-\n | formatted source text and this field will store the rendered HTML version of that same text. Use the ``populate_from``\n | argument to indicated which field on the same model contains the source text. If the ``allow_html`` argument is\n | ``False`` (the default), any HTML tags present in the source text will be removed using the\n | `bleach library `__. The ``extensions`` argument can be used to enable any desired\n | `extensions `__ for the\n | `Markdown library `__. One extension is enabled by default:\n | `SmartyPants `__. SmartyPants is configured to use the\n | correct Unicode characters (e.g. \u201c) rather than HTML entities (e.g. ``“``). Since CharFields don\u2019t normally\n | contain paragraphs of text, MarkdownCharField strips the ``

`` tags that Markdown always includes.\n\n- **MarkdownTextField**\n\n | This field is meant to be used in collaboration with a regular TextField. The regular TextField stores the Markdown-\n | formatted source text and this field will store the rendered HTML version of that same text. Use the ``populate_from``\n | argument to indicated which field on the same model contains the source text. If the ``allow_html`` argument is\n | ``False`` (the default), any HTML tags present in the source text will be removed using the\n | `bleach library `__. The ``extensions`` argument can be used to enable any desired\n | `extensions `__ for the\n | `Markdown library `__. One extension is enabled by default:\n | `SmartyPants `__. SmartyPants is configured to use the\n | correct Unicode characters (e.g. \u201c) rather than HTML entities (e.g. ``“``).\n\n- **UUIDPrimaryKeyField**\n\n | UUIDs are, in many ways, better primary keys than automatically incrementing integer fields. Unfortunately, the\n | default Django implementation\u2014\\ ``UUIDField``\u2014requires some boilerplate (including importing the ``uuid`` module) before\n | it can be used as a primary key. UUIDPrimaryKeyField manages the boilerplate for you. Just add\n\n ::\n\n id = UUIDPrimaryKeyField()\n\n to your model and everything will just work.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rmecham/django-useful-fields/", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-useful-fields", "package_url": "https://pypi.org/project/django-useful-fields/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-useful-fields/", "project_urls": { "Homepage": "https://github.com/rmecham/django-useful-fields/" }, "release_url": "https://pypi.org/project/django-useful-fields/0.0.4/", "requires_dist": [ "Django (>=1.8)", "Markdown (>=2.6)", "bleach (>=1.4)", "pytz (>=2015)" ], "requires_python": "", "summary": "Some useful database field definitions for Django.", "version": "0.0.4" }, "last_serial": 1965976, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "302d5e50b5f51a4821de98f60b150baa", "sha256": "431fc1d76a282abd6e5348fc46bbebabfb2694904019419af55e7d4890108e3a" }, "downloads": -1, "filename": "django_useful_fields-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "302d5e50b5f51a4821de98f60b150baa", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5647, "upload_time": "2016-02-19T17:43:23", "url": "https://files.pythonhosted.org/packages/a5/fd/f22ae1399e42146f2c82e0a8e659736bf3019711cab87a922c56813f1e9f/django_useful_fields-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c573fc30d6be08fe579b71e3b1e66f84", "sha256": "073575fdaf8d2f687dc5e431a8c6a7f9603fd756a130df5ea4a431ad0923ff34" }, "downloads": -1, "filename": "django-useful-fields-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c573fc30d6be08fe579b71e3b1e66f84", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3335, "upload_time": "2016-02-19T17:43:31", "url": "https://files.pythonhosted.org/packages/cd/04/7c6591297b8686c77751f7bed0ea0e631b0816357c2c2595f1a4a19463ea/django-useful-fields-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "412a2e26296a8f63592ec7ac58f55e9c", "sha256": "2a8a0189eca367ef390c44fa397a928502f514230a7b727f1eb38b7a0817d816" }, "downloads": -1, "filename": "django_useful_fields-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "412a2e26296a8f63592ec7ac58f55e9c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6210, "upload_time": "2016-02-19T19:09:44", "url": "https://files.pythonhosted.org/packages/06/84/03567235ce02ebd79cf4f119211860590f9bd5d0f2f74809341deb9b9d65/django_useful_fields-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bf6a40a7a3f20b0f075867814b680570", "sha256": "9f6628faad0cdd9db0c855344976d5350cc4cd64a1ced482e02f85542b63fa88" }, "downloads": -1, "filename": "django-useful-fields-0.0.2.tar.gz", "has_sig": false, "md5_digest": "bf6a40a7a3f20b0f075867814b680570", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3823, "upload_time": "2016-02-19T19:10:11", "url": "https://files.pythonhosted.org/packages/a6/8c/b5e410d8dc4bc41f958bad0928b7a563c10f9ebafa7ad4f0a475af893a34/django-useful-fields-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "2b55e2378ef94242312f4e2c7a78d3f5", "sha256": "4599ad8d462097fb549f23bf62599938745d8605d64110646fdd64332d20573b" }, "downloads": -1, "filename": "django_useful_fields-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2b55e2378ef94242312f4e2c7a78d3f5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6232, "upload_time": "2016-02-19T20:56:11", "url": "https://files.pythonhosted.org/packages/19/d6/acbc57038dc8c085e5c26d5c4f76466bddf36d132aa2b6734d21c0b4aaa8/django_useful_fields-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "19390b72358a357936f169e12a452064", "sha256": "497232aa2d579c469b4a2ef1f7448e4f9b18ccd843ecf0e7f3ae32eaf2fe260f" }, "downloads": -1, "filename": "django-useful-fields-0.0.3.tar.gz", "has_sig": false, "md5_digest": "19390b72358a357936f169e12a452064", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3850, "upload_time": "2016-02-19T20:56:17", "url": "https://files.pythonhosted.org/packages/41/1a/040c6b82481d77735d4ce004307f49b4ef60a3c8334b3e9ffd166e001355/django-useful-fields-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "3f6efe4f498ac4cb13c2613b0a730eb8", "sha256": "7a648691aab9c743ee49da649db36ad3c389c9aac4aa54d6104b40b2d152b4f5" }, "downloads": -1, "filename": "django_useful_fields-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3f6efe4f498ac4cb13c2613b0a730eb8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6183, "upload_time": "2016-02-19T21:01:40", "url": "https://files.pythonhosted.org/packages/bb/25/432177168edf7da955b290fbf9b05e80443b27ae1c8a1c26b9b1364d9844/django_useful_fields-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ed81b87e7be4b0bdf9488af22fa5b165", "sha256": "6ce2b0ffda91dc9913e26cc74959c4fd81e65afc143d610cda9cff08542c0fba" }, "downloads": -1, "filename": "django-useful-fields-0.0.4.tar.gz", "has_sig": false, "md5_digest": "ed81b87e7be4b0bdf9488af22fa5b165", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3758, "upload_time": "2016-02-19T21:01:59", "url": "https://files.pythonhosted.org/packages/d6/ab/bd3086803d35fb184a5ef89d31b514f8ff5ee9f67b9da61eea08953d8aa1/django-useful-fields-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3f6efe4f498ac4cb13c2613b0a730eb8", "sha256": "7a648691aab9c743ee49da649db36ad3c389c9aac4aa54d6104b40b2d152b4f5" }, "downloads": -1, "filename": "django_useful_fields-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3f6efe4f498ac4cb13c2613b0a730eb8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6183, "upload_time": "2016-02-19T21:01:40", "url": "https://files.pythonhosted.org/packages/bb/25/432177168edf7da955b290fbf9b05e80443b27ae1c8a1c26b9b1364d9844/django_useful_fields-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ed81b87e7be4b0bdf9488af22fa5b165", "sha256": "6ce2b0ffda91dc9913e26cc74959c4fd81e65afc143d610cda9cff08542c0fba" }, "downloads": -1, "filename": "django-useful-fields-0.0.4.tar.gz", "has_sig": false, "md5_digest": "ed81b87e7be4b0bdf9488af22fa5b165", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3758, "upload_time": "2016-02-19T21:01:59", "url": "https://files.pythonhosted.org/packages/d6/ab/bd3086803d35fb184a5ef89d31b514f8ff5ee9f67b9da61eea08953d8aa1/django-useful-fields-0.0.4.tar.gz" } ] }