{ "info": { "author": "Mauro Bianchi", "author_email": "bianchimro@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "django-cms-fragments\n====================\n\ndjango-cms-fragments is a plugin for django-cms.\nWith this plugin you can include several fragments of js, css and html in the\ncontext of a cms page.\nFragments can be added by uploading a file, providing an external url(for js and css),\nor writing inline code.\n\nThe plugin basically adds jss and js to the page, using sekizai tags.\nIt relies on the fact that django-cms requires \"js\" and \"css\" blocks to work.\nThe html fragments are rendered within the plugin template.\n\n**This package is in an alpha stage, don't use it in production.**\n\nI created the project because i didn't want to have to modify my cms installation\nby adding templates or app_hooks for displaying rich visualizations such as\nOpenlayers Maps or jQplot charts.\nAnother use of the plugin is overriding some css in a particular cms page.\n\nInstallation\n------------\n\n* Install via pip:\n\n pip install django-cms-fragments\n\n* Add 'cms_fragments' to your INSTALLED_APPS\n* Use 'django.contrib.staticfiles', or copy the static subfolder of django-cms-fragments\n to your static folder\n\n=====\nUsage\n=====\n\nFragments\n---------\n\n\n\nFragmentsBlocks\n---------------\n\nTBW\nA \"fragment block is\"\n\n\nRegions\n---------------\n\nTBW\nRegions must be declared in your settings.py, with the CMS_FRAGMENTS_REGIONS setting.\n\n\n\n\n\nTo use the plugin, you must create some Fragment or FragmentCollection instances with the Django admin.\nFragmentCollections are a collection of Fragments.\nOnce you have one or more Fragments or FragmentCollections in the DB, you can choose which one to put in a\nplugin, with the usual django-cms interface.\n...\n\nImplemented Features\n--------------------\n\ncurrent version:0.0.5\n\n* FragmentRegions an FragmentBlock\n* FragmentCollection and Fragment models, with admin integration\n* FragmentPlugin and FragmentCollectionPlugin for django-cms\n* css fragments from files, url or inline code\n* js fragments from files, url or inline code\n* html fragments from files or inline code\n* integration with ace editor\n* ordering of elements in a FragmentCollection\n* ...\n\nRoadMap/Planned Features\n------------------------\n\nplanned version:0.1.0\n\n* example fixtures for FragmentCollection and Fragment models\n* live examples\n* drag and drop ordering in admin\n* write docs\n* separate models for css, js and HTML fragments\n\n\nRelease Notes\n-------------\n\nversion 0.0.5:\n\n* Introduced FragmentRegions\n\nversion 0.0.4:\n\n* Using ace editor instead of editarea\n* Partial documentation at readthedocs.org\n\nCompatibility\n-------------\n\nThe app is being developed for Django >= 1.3.1. I'm not checking compatibility with other\nDjango versions right now.\n\nCredits\n-------\n\nThe project borrows from the following other codebases:\n\n* ace editor by ajax.org. The ace license is included in the folder cms_fragments/static/acsjs/LICENSE", "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/bianchimro/django-cms-fragments", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-cms-fragments", "package_url": "https://pypi.org/project/django-cms-fragments/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-cms-fragments/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bianchimro/django-cms-fragments" }, "release_url": "https://pypi.org/project/django-cms-fragments/0.0.5/", "requires_dist": null, "requires_python": null, "summary": "Injecting fragments of js, css and html in a django-cms plugin", "version": "0.0.5" }, "last_serial": 789311, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "901a81a948ae68bcd26072cdc150c691", "sha256": "5bad3a3672f30b81e04f512dce426b77f7522364f60cccb6edafa57c7b6c2570" }, "downloads": -1, "filename": "django-cms-fragments-0.0.2.tar.gz", "has_sig": false, "md5_digest": "901a81a948ae68bcd26072cdc150c691", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 247345, "upload_time": "2012-03-24T01:07:38", "url": "https://files.pythonhosted.org/packages/8c/d2/57e5830d5dbdcac97f609821ec83305a8e3653be2f8f9f446ecfa75ad90b/django-cms-fragments-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "7da3539492f8b005864f665c41946f21", "sha256": "1acf3368fc6092fcf59a8d605b1f82070179cb364cd8f8470e10fb77ac7e80ca" }, "downloads": -1, "filename": "django-cms-fragments-0.0.3.tar.gz", "has_sig": false, "md5_digest": "7da3539492f8b005864f665c41946f21", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 247662, "upload_time": "2012-03-24T16:23:43", "url": "https://files.pythonhosted.org/packages/4d/11/b3df1da156cd2668ca880b210c5d28254952db2003d96d0148bf34e5740a/django-cms-fragments-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "dbcab47015e0c9af3d94ba482e93d651", "sha256": "b1e43ac5194b986ac6324e7f72287303cab12109d9f6f4aa0dd75c28a62b3f4d" }, "downloads": -1, "filename": "django-cms-fragments-0.0.4.tar.gz", "has_sig": false, "md5_digest": "dbcab47015e0c9af3d94ba482e93d651", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1353842, "upload_time": "2012-03-28T23:27:12", "url": "https://files.pythonhosted.org/packages/34/c0/cf7c8a6ef0125587e26ac3177922926f914b394ec943258ae7a34a3111d7/django-cms-fragments-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "b63223e6d1c22e65d75c4016712a16ee", "sha256": "ee7ed380a3ed7aa23a0f8f74f5b8c0528b6e980913801855a2f9787c4f4272c3" }, "downloads": -1, "filename": "django-cms-fragments-0.0.5.tar.gz", "has_sig": false, "md5_digest": "b63223e6d1c22e65d75c4016712a16ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1356366, "upload_time": "2012-08-11T17:27:44", "url": "https://files.pythonhosted.org/packages/6e/11/ffd935407d85825532c534f59b9420a33230482b9a851a684270242b2bf9/django-cms-fragments-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b63223e6d1c22e65d75c4016712a16ee", "sha256": "ee7ed380a3ed7aa23a0f8f74f5b8c0528b6e980913801855a2f9787c4f4272c3" }, "downloads": -1, "filename": "django-cms-fragments-0.0.5.tar.gz", "has_sig": false, "md5_digest": "b63223e6d1c22e65d75c4016712a16ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1356366, "upload_time": "2012-08-11T17:27:44", "url": "https://files.pythonhosted.org/packages/6e/11/ffd935407d85825532c534f59b9420a33230482b9a851a684270242b2bf9/django-cms-fragments-0.0.5.tar.gz" } ] }