{ "info": { "author": "Fabian Germann", "author_email": "fg@feinheit.ch", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Application Frameworks" ], "description": "==========\nTextblocks\n==========\n\n.. image:: https://travis-ci.org/fabiangermann/django-textblocks.svg?branch=master\n :target: https://travis-ci.org/fabiangermann/django-textblocks\n\n\nInstallation\n============\n\n1. Add ``textblocks`` and optionally ``modeltranslation`` to\n ``INSTALLED_APPS``\n2. Add an entry for ``textblocks`` to your ``MIGRATION_MODULES``\n (textblocks cannot ship its own migrations because the exact schema\n depends on your ``LANGUAGES`` setting) and create an empty Python\n module (folder with an empty ``__init__.py`` file).\n3. Run ``./manage.py makemigrations textblocks`` and ``./manage.py migrate``\n\n\nUsage\n=====\n\n1. Load templatetags ``{% load textblock_tags %}``\n2. Add ``textblock`` tags with unique identifiers::\n\n {% textblock \"introduction\" %}\n\nText blocks with identifiers that do not exist in the database yet will\nautomatically be created.\n\nYou can optionally provide the following keyword arguments:\n\n============== ============================================================================================= =================================== ================\n Argument Description Possible Values Default\n============== ============================================================================================= =================================== ================\n ``type`` Sets the content type. ``text/plain``, ``text/html`` ``text/plain``\n ``show_key`` If set to true, the template will render the textblock key for textblocks without a value. ``False``, ``0``, ``True``, ``1`` ``False``\n============== ============================================================================================= ==================================== ================\n\nThe default value for the ``show_key``-option can be overriden with the\n``TEXTBLOCKS_SHOWKEY = True``-setting.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/fabiangermann/django-textblocks/", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-textblocks", "package_url": "https://pypi.org/project/django-textblocks/", "platform": "", "project_url": "https://pypi.org/project/django-textblocks/", "project_urls": { "Homepage": "http://github.com/fabiangermann/django-textblocks/" }, "release_url": "https://pypi.org/project/django-textblocks/0.7/", "requires_dist": null, "requires_python": "", "summary": "Simple app for managing small blocks of text/html.", "version": "0.7" }, "last_serial": 4344902, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "49495dc66a92ba28b415eef74fe900a4", "sha256": "ff20be4feefbb248f821d1d4ec7d8b90cad140d128227e8c84271a8ec7012b3c" }, "downloads": -1, "filename": "django-textblocks-0.2.tar.gz", "has_sig": true, "md5_digest": "49495dc66a92ba28b415eef74fe900a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3534, "upload_time": "2016-07-04T09:01:15", "url": "https://files.pythonhosted.org/packages/03/41/9dbbbf943a2f7f23de7a6986691f0d1738f344525a07f566944f1e8b8997/django-textblocks-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "a1845a07e7390ac6133624ebbc7a538f", "sha256": "ef835373be80be3732911dd9e7634c4d8c1725a94e15801d918c17e0bacd4590" }, "downloads": -1, "filename": "django-textblocks-0.3.tar.gz", "has_sig": false, "md5_digest": "a1845a07e7390ac6133624ebbc7a538f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4086, "upload_time": "2017-03-15T10:05:13", "url": "https://files.pythonhosted.org/packages/55/90/0a796da3527b691866301947a1edbeb5e0705f550795f7cdfdf54d6cd18e/django-textblocks-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "6241ac8a4129a0562f05c23d1aa0e152", "sha256": "fd8053138557f2e0f0e9ae9df30fcb9f58f72c1bc6b9e28ec7736e11086afd59" }, "downloads": -1, "filename": "django-textblocks-0.4.tar.gz", "has_sig": false, "md5_digest": "6241ac8a4129a0562f05c23d1aa0e152", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5337, "upload_time": "2017-09-14T14:44:57", "url": "https://files.pythonhosted.org/packages/17/f7/b563e3787346311bbe6204ab3ea16d77b309d698818856928a8b18669538/django-textblocks-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "9e41f6ad2f54d660fad85dacb2ae4c41", "sha256": "e5ffb731ee8bc733b10781b2532bb000477c790c5beb25911a7525f9201108ad" }, "downloads": -1, "filename": "django-textblocks-0.5.tar.gz", "has_sig": false, "md5_digest": "9e41f6ad2f54d660fad85dacb2ae4c41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6153, "upload_time": "2018-02-08T15:03:38", "url": "https://files.pythonhosted.org/packages/62/c9/0f7542372a6316de6b6d4d0a2b8970e7371344f50019beb15f38eb098193/django-textblocks-0.5.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "cfdd3ada2381df9e99b242cb458a2c3f", "sha256": "e0b565bbd1cf842f0f696079fed56374b40ebccfeae2befc64b587f4f6f6bcca" }, "downloads": -1, "filename": "django-textblocks-0.7.tar.gz", "has_sig": false, "md5_digest": "cfdd3ada2381df9e99b242cb458a2c3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6428, "upload_time": "2018-10-05T16:24:32", "url": "https://files.pythonhosted.org/packages/4b/99/726d090e4cba060fd4736bac56dce0d7b2e28f8cc95ca13db5e92e6ffd32/django-textblocks-0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cfdd3ada2381df9e99b242cb458a2c3f", "sha256": "e0b565bbd1cf842f0f696079fed56374b40ebccfeae2befc64b587f4f6f6bcca" }, "downloads": -1, "filename": "django-textblocks-0.7.tar.gz", "has_sig": false, "md5_digest": "cfdd3ada2381df9e99b242cb458a2c3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6428, "upload_time": "2018-10-05T16:24:32", "url": "https://files.pythonhosted.org/packages/4b/99/726d090e4cba060fd4736bac56dce0d7b2e28f8cc95ca13db5e92e6ffd32/django-textblocks-0.7.tar.gz" } ] }