{ "info": { "author": "Fran Hrzenjak", "author_email": "fran@changeset.hr", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "djangocms-cascade\n=================\n\n**DjangoCMS-Cascade** is the Swiss army knife for working with Django\nCMS plugins.\n\nDis iz a FORK!\n--------------\n\n- fix for django-reversion (already merged)\n- minor reordering of fields in Column Plugin\n- hopefully will be merged in the main repo, so this package is\n temporary\n- install with ``pip install tocka-djangocms-cascade``\n\nOriginal readme below...\n\nAdd DOM elements to a Django-CMS placeholder\n--------------------------------------------\n\n**DjangoCMS-Cascade** is a collection of plugins for DjangoCMS >= 3.0.8\nto add various HTML elements to any CMS\n`placeholder `__\nin a hierarchical tree.\n\nIt allows web editors to layout their pages, without having to edit\nDjango templates. In most cases, one template with one single\nplaceholder is enough. The editor then can subdivide that placeholder\ninto rows and columns, and add additional elements such as buttons,\nrulers, and much more.\n\nCurrently about a dozen compontents from **Bootstrap-3.x** are avialble,\nbut **Cascade** makes it very easy to add additional compontents, often\nwith less than 20 lines of Python code and without any database\nmigrations.\n\nSince all plugins share the same database table, it is very easy to\nbuild inheritance trees. For instance, Cascade's own ``LinkPlugin``\ninherits from a ``LinkPluginBase``, which also is the parent of the\n``ImagePlugin`` and the ``ButtonPlugin``. This helps to share the common\nfunctionality required for linking.\n\nIts pluggable\n~~~~~~~~~~~~~\n\n**DjangoCMS-Cascade** is very modular, keeping its CMS modules in\nfunctional groups. These groups have to be activated independently in\nyour ``settings.py``. It also is possible to activate only certain\nPlugins out of a group. One such group is\n``cmsplugin_cascade.bootstrap3``, but it could be replaced by a future\n**Bootstrap-4**, the **Foundation**, **YUI** or whatever other CSS\nframework you prefer.\n\nConfigurable individually\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\nEach Cascade Plugin can be styled individually. The site-administrator\ncan specify which CSS styles and CSS classes can be added to each\nplugin. Then the page-editor can pick one of the allowed styles to adopt\nhis elements accordingly.\n\nReuse your data\n~~~~~~~~~~~~~~~\n\nEach Cascade Plugin can be configured by the site-administrator to share\nsome or all of its data fields. This for instance is handy, to keep\nreferences onto external URLs in a central place. Or is can be used to\nresize all images sharing a cetrain property in one go.\n\nSegment the DOM\n~~~~~~~~~~~~~~~\n\nIt is even possible to group plugins into seperate evaluation contexts.\nThis for instance is used to render different Plugins, depending on\nwhether a user is authenticated or anonymous.\n\nResponsive Images\n~~~~~~~~~~~~~~~~~\n\nIn modern web development, images must adopt to the column width in\nwhich they are rendered. Therefore the ```` tag, in addition to\nthe well known ``src`` attribute, also accepts additional ``srcset``'s,\none for each media query. **DjangoCMS-Cascade** calculates the required\nwidths for each image, depending on the current column layout\nconsidering all media breakpoints.\n\nNews for next major release 0.5.0\n---------------------------------\n\n- Tested with **django-cms 3.0.13** and Django-1.6.\n- Added SegmentationPlugin. This allows to conditionally render parts\n of the DOM, depending on the status of various ``request`` object\n members, such as ``user``.\n- Setting ``CASCADE_LEAF_PLUGINS`` has been replaced by\n ``CMSPLUGIN_CASCADE_ALIEN_PLUGINS``. This simplifies the programming\n of third party plugins, since the author of a plugin now only must\n set the member ``alien_child_classes = True``.\n\nHelp needed\n-----------\n\nIf you like this project, please invest some time and test it with\nDjango-1.7/1.8, django-cms-3.1 and if possible Python-3.4.\n\nWith migrations added to Django-1.7, testing and developing plugins for\ndjango-cms get really messy. I currently have no resources to do all\nthis cross-development.\n\nTravis-CI worked for djangocms-cascade, Django-1.7 and\ndjango-cms-3.0.12, but since the last upgrade this is not the case\nanymore. If someone can find out why, it would be really great.\n\nFeatures\n--------\n\n- Use the scaffolding technique from the preferred CSS framework to\n subdivide a placeholder into a `grid\n system `__.\n- Make full usage of responsive techniques, by allowing `stacked to\n horizontal `__\n classes per element.\n- Use styled `buttons `__ to add\n links.\n- Wrap special content into a\n `Jumbotron `__ or a\n `Carousel `__\n- Add ```` and ```` elements in a responsive way, so that\n more than one image URL point onto the resized sources, one for each\n viewport using the ``srcset`` tags or the ```` elements.\n- Use segmentation the render parts of the DOM conditionally.\n- It is very easy to integrate additional elements from the preferred\n CSS framework. For instance, implementing the Bootstrap Carousel,\n required 50 lines of Python code and two simple Django templates.\n- Since all the data is stored in JSON, no database migration is\n required if a field is added, modified or removed from the plugin.\n- Currently **Bootstrap-3.x** is supported, but other CSS frameworks\n can be easily added in a pluggable manner.\n\nIn addition to easily implement any kind of plugin,\n**DjangoCMS-Cascade** makes it possible to add reusable helpers. Such a\nhelper enriches a plugin with an additional, configurable functionality:\n\n- By making some of the plugin fields sharable, one can reuse these\n values for other plugins of the same kind. This for instance is handy\n for the image and picture plugin, so that images always are resized\n to predefined values.\n- By allowing extra fields, one can add an optional ``id`` tag, CSS\n classes and inline styles. This is configurable on a plugin and site\n base.\n\nDetailed documentation\n----------------------\n\nFind detailed documentation on\n`ReadTheDocs `__.\n\nBuild status\n------------\n\n|Build Status|\n\nHistory\n-------\n\nThis project started as a simple\n`wrapper `__ for the\nDjangoCMS TextPlugin, so that text elements could be shifted\nhorizontally using the Grid System 960. Later on, support for 960.gs was\ndropped in favor of Twitter Bootstrap. Now the aim of the project is to\nfully support all Bootstrap components and more, so that djangoCMS can\nbe used to build a website with as many widgets as possible, without\nhaving to edit templates.\n\nDjangoCMS starting with version 3.0, allows to nest plugins inside other\nplugins. This feature made it possible to implement this kind of plugin.\n\nLicense\n-------\n\nReleased under the terms of MIT License.\n\nCopyright \u00a9 2015, Jacob Rief jacob.rief@gmail.com\n\n.. |Build Status| image:: https://travis-ci.org/frnhr/djangocms-cascade.png?branch=master\n :target: https://travis-ci.org/frnhr/djangocms-cascade", "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/frnhr/djangocms-cascade", "keywords": null, "license": "LICENSE-MIT", "maintainer": null, "maintainer_email": null, "name": "tocka-djangocms-cascade", "package_url": "https://pypi.org/project/tocka-djangocms-cascade/", "platform": "OS Independent", "project_url": "https://pypi.org/project/tocka-djangocms-cascade/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/frnhr/djangocms-cascade" }, "release_url": "https://pypi.org/project/tocka-djangocms-cascade/0.6.0.1/", "requires_dist": null, "requires_python": null, "summary": "Fork of djangocms-cascade", "version": "0.6.0.1" }, "last_serial": 1639733, "releases": { "0.5.0": [ { "comment_text": "", "digests": { "md5": "b160826f789156be7560d0216b618884", "sha256": "0cf5c932e89994f0238363e2ef5c7c02bb8c1f5f98848ecdd5fdb624f0cac21c" }, "downloads": -1, "filename": "tocka-djangocms-cascade-0.5.0.tar.gz", "has_sig": false, "md5_digest": "b160826f789156be7560d0216b618884", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 914855, "upload_time": "2015-06-13T20:50:27", "url": "https://files.pythonhosted.org/packages/34/10/ee018b19356b7051e2d5a3369ddcdcd2e9b2ee110327e3fc4aae7974192c/tocka-djangocms-cascade-0.5.0.tar.gz" } ], "0.6.0.1": [ { "comment_text": "", "digests": { "md5": "15ac3e1a435364bda42a69e82f5bdb90", "sha256": "928896426395a5eae4499005967ab2f39147348adb17fd6573821f57e7608834" }, "downloads": -1, "filename": "tocka-djangocms-cascade-0.6.0.1.tar.gz", "has_sig": false, "md5_digest": "15ac3e1a435364bda42a69e82f5bdb90", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 924116, "upload_time": "2015-07-19T00:28:36", "url": "https://files.pythonhosted.org/packages/df/50/79c9833e7d92f9cfa836a3dabf4cf42ce014c5dde1afb25d7a50fac06242/tocka-djangocms-cascade-0.6.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "15ac3e1a435364bda42a69e82f5bdb90", "sha256": "928896426395a5eae4499005967ab2f39147348adb17fd6573821f57e7608834" }, "downloads": -1, "filename": "tocka-djangocms-cascade-0.6.0.1.tar.gz", "has_sig": false, "md5_digest": "15ac3e1a435364bda42a69e82f5bdb90", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 924116, "upload_time": "2015-07-19T00:28:36", "url": "https://files.pythonhosted.org/packages/df/50/79c9833e7d92f9cfa836a3dabf4cf42ce014c5dde1afb25d7a50fac06242/tocka-djangocms-cascade-0.6.0.1.tar.gz" } ] }