{ "info": { "author": "David Thenon", "author_email": "dthenon@emencia.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. _DjangoCMS: https://www.django-cms.org/\n.. _sorl-thumbnail: https://github.com/mariocesar/sorl-thumbnail\n.. _djangocms-text-ckeditor: https://github.com/divio/djangocms-text-ckeditor\n\nEmencia DjangoCMS blocks\n========================\n\nA set of DjangoCMS plugins to make content with less involved HTML than\ndirectly using CKeditor for everything.\n\nThis just supply some plugins with a default basic template. There is no CSS,\nJavascript or anything else like frontend integration.\n\nRequires\n********\n\n* Python >= 3.4;\n* Django>=1.9,<1.12;\n* Pillow;\n* `sorl-thumbnail`_;\n* `DjangoCMS`_ >= 3.4,<3.5;\n* `djangocms-text-ckeditor`_;\n\nInstall\n*******\n\nFirst install package ::\n\n pip install cmsplugin-blocks\n\nAdd it to your installed Django apps in settings like this : ::\n\n INSTALLED_APPS = (\n ...\n 'cms',\n 'djangocms_text_ckeditor',\n 'sorl.thumbnail',\n 'cmsplugin_blocks',\n )\n\nThen load its settings from your settings file: ::\n\n from cmsplugin_blocks import *\n\nAnd finally apply database migrations.\n\nAvailable components\n********************\n\nAlbum\n\n Available fields:\n\n * title;\n * template;\n\n Album have related items *AlbumItem* which are added/edited through inline form.\n\n Available *AlbumItem* items fields:\n\n * image;\n * content;\n\nCard\n\n Available fields:\n\n * alignment;\n * template;\n * image;\n * content;\n\nHero\n\n Available fields:\n\n * template;\n * image;\n * content;\n\nSlider\n\n Available fields:\n\n * title;\n * template;\n\n Available *SlideItem* items fields:\n\n * image;\n * content;\n * order;\n * link_name;\n * link_url;\n * link_open_blank;\n\n Slider have related items *SlideItem* which are added/edited through\n inline form.\n\nMass upload\n***********\n\nThere is a field \"mass upload\" on Album that attemp a valid ZIP archive file\nto create new album items. Each image file from ZIP archive will be added as\na new album item using image filename as item title. Scanning ZIP archive for\nimage files is recursive and so the full image filename is used, even its\nrelative path inside archive.\n\nSettings\n********\n\nThese are default settings you may override in your own project settings.\n\nBLOCKS_ALBUM_TEMPLATES\n Available templates to render an Album object and its items. Default\n setting value contains only one default template.\nBLOCKS_CARD_TEMPLATES\n Available templates to render an Card object. Default\n setting value contains only one default template.\nBLOCKS_HERO_TEMPLATES\n Available templates to render an Hero object. Default\n setting value contains only one default template.\nBLOCKS_SLIDER_TEMPLATES\n Available templates to render an Slider object and its items. Default\n setting value contains only one default template.\nBLOCKS_TEMP_DIR\n Path to directory where to store temporary ZIP archive for mass upload.\n Default to `temp/`.\nBLOCKS_MASSUPLOAD_IMAGE_TYPES\n Allowed images file extensions in ZIP archive for mass upload. Default\n value allow `jpg`, `jpeg`, `svg`, `gif` and `png`.\nBLOCKS_MASSUPLOAD_FILESIZE_LIMIT\n Maximum file size (in bytes) allowed for ZIP archive for mass upload.\n Default to `429916160` (50MiO).\n\nA note about djangocms-text-ckeditor\n************************************\n\ndjangocms-text-ckeditor get configurations from\n``CKEDITOR_SETTINGS[\"toolbar_HTMLField\"]`` when used from plugin, you may have\nto duplicate it from ``CKEDITOR_SETTINGS[\"toolbar_CMS\"]`` if you want to share\nthe same configuration for CKeditor from CMS pages and CKeditor from blocks\nplugins.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/emencia/cmsplugin-blocks", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "cmsplugin-blocks", "package_url": "https://pypi.org/project/cmsplugin-blocks/", "platform": "", "project_url": "https://pypi.org/project/cmsplugin-blocks/", "project_urls": { "Homepage": "https://github.com/emencia/cmsplugin-blocks" }, "release_url": "https://pypi.org/project/cmsplugin-blocks/0.5.2/", "requires_dist": null, "requires_python": "", "summary": "A set of DjangoCMS plugins to make content with less involved HTML than directly using CKeditor for everything.", "version": "0.5.2" }, "last_serial": 5288642, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7ecc4a87ce2cf561345a36bde6909316", "sha256": "6334cb10138da9b997314202dc40b98206ef3fcc81febd04a9d2f46959a6dc95" }, "downloads": -1, "filename": "cmsplugin-blocks-0.1.tar.gz", "has_sig": false, "md5_digest": "7ecc4a87ce2cf561345a36bde6909316", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7668, "upload_time": "2017-10-16T23:27:36", "url": "https://files.pythonhosted.org/packages/1c/15/461fd424b1703a1454dd6e3c98e86c62a881f8bb557adaab6507a5915da6/cmsplugin-blocks-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "9d28a4e73b492c0538af6d9678e1134a", "sha256": "9c4e4d3fdcefa1b395878aa13e138f66e56bffca174474d3e1def7fb5270f62e" }, "downloads": -1, "filename": "cmsplugin-blocks-0.1.1.tar.gz", "has_sig": false, "md5_digest": "9d28a4e73b492c0538af6d9678e1134a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7395, "upload_time": "2017-10-17T12:18:45", "url": "https://files.pythonhosted.org/packages/01/69/49af75adfefd916d298b3d7da9aad97c7de7758dab775d1ec58105be098b/cmsplugin-blocks-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "071e06a3cbf9394760b9e2bbbf2bfe49", "sha256": "90e06c8491c2d267895b90e0c9ca50585f21525b73ec6e60c0eb09a60a1630de" }, "downloads": -1, "filename": "cmsplugin-blocks-0.1.2.tar.gz", "has_sig": false, "md5_digest": "071e06a3cbf9394760b9e2bbbf2bfe49", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7552, "upload_time": "2017-10-18T15:42:50", "url": "https://files.pythonhosted.org/packages/9c/2f/a0ebb64463054bd8d50fd0079c4a057d5af7a995688859199d7834b6421e/cmsplugin-blocks-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "d3a00625f01582d36ee4cada20e9cc07", "sha256": "4b7bc5ccf1f87633ba9c2a6bee7a18f83cca734ee28a295aee89057562c1b6a2" }, "downloads": -1, "filename": "cmsplugin-blocks-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d3a00625f01582d36ee4cada20e9cc07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8627, "upload_time": "2017-10-19T12:35:48", "url": "https://files.pythonhosted.org/packages/3b/d6/84953be86817ea31d72fb37917de95a3b0b52198b043276483514b48fb0d/cmsplugin-blocks-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "64150e070389f59795e99022638cdf33", "sha256": "2b3aabbc08ca4ce0cb763d595a7d38301638e7f7db47daa52337ab082ffe1acc" }, "downloads": -1, "filename": "cmsplugin-blocks-0.3.0.tar.gz", "has_sig": false, "md5_digest": "64150e070389f59795e99022638cdf33", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7644, "upload_time": "2018-02-18T14:06:01", "url": "https://files.pythonhosted.org/packages/af/33/9215c6d734cee879e4d507d8f80bd73c02b27934b4acb3ad288b083c0081/cmsplugin-blocks-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "b745b01d91cb4ffef23e5d3b4282f05f", "sha256": "145353017e22fbe7f7755f21265fe12c78163e3c5c04db322ee2a27b42826810" }, "downloads": -1, "filename": "cmsplugin-blocks-0.4.0.tar.gz", "has_sig": false, "md5_digest": "b745b01d91cb4ffef23e5d3b4282f05f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8487, "upload_time": "2018-02-19T10:26:05", "url": "https://files.pythonhosted.org/packages/3c/32/ecf47d159d738254aa09b560a8e5f8d3eb5a1abf94b589f9961881315aa4/cmsplugin-blocks-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "4b7c1890f3f5f762fb32c66250317d9e", "sha256": "22273309cbb0b91acfa41518828a952e487c9afafb030fcedd70b434ebca2e50" }, "downloads": -1, "filename": "cmsplugin-blocks-0.5.0.tar.gz", "has_sig": false, "md5_digest": "4b7c1890f3f5f762fb32c66250317d9e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17385, "upload_time": "2018-03-09T01:14:38", "url": "https://files.pythonhosted.org/packages/eb/5f/db87f20fba357cfe8563bd2bc2e7561cc507cc4aff0e8492731f42450e8e/cmsplugin-blocks-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "ae720173e6032206cc953cebcaf56bb4", "sha256": "cf86b8afbbd5c7f6c0a5ca9981a3e115bf2b93d6ac6897bc50d34bbafd3981c8" }, "downloads": -1, "filename": "cmsplugin-blocks-0.5.1.tar.gz", "has_sig": false, "md5_digest": "ae720173e6032206cc953cebcaf56bb4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17207, "upload_time": "2018-12-19T15:26:37", "url": "https://files.pythonhosted.org/packages/a6/80/ae9bbaa445da51c8bc5b71108e842245646c4f16debfd7fcb01f8ac23a75/cmsplugin-blocks-0.5.1.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "ea6b05e7eb836b07e2c8eb2e2d958eca", "sha256": "c339ea2bacc6eb67593fe7f321185fbb9ae12aa8ffe3e1217d1ddfae1637755d" }, "downloads": -1, "filename": "cmsplugin-blocks-0.5.2.tar.gz", "has_sig": false, "md5_digest": "ea6b05e7eb836b07e2c8eb2e2d958eca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17393, "upload_time": "2019-05-19T15:53:45", "url": "https://files.pythonhosted.org/packages/2d/a2/7bcab453d138b47c7d2dc285ba5645c32b418f78c41ebf1f4e6f3f143638/cmsplugin-blocks-0.5.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ea6b05e7eb836b07e2c8eb2e2d958eca", "sha256": "c339ea2bacc6eb67593fe7f321185fbb9ae12aa8ffe3e1217d1ddfae1637755d" }, "downloads": -1, "filename": "cmsplugin-blocks-0.5.2.tar.gz", "has_sig": false, "md5_digest": "ea6b05e7eb836b07e2c8eb2e2d958eca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17393, "upload_time": "2019-05-19T15:53:45", "url": "https://files.pythonhosted.org/packages/2d/a2/7bcab453d138b47c7d2dc285ba5645c32b418f78c41ebf1f4e6f3f143638/cmsplugin-blocks-0.5.2.tar.gz" } ] }