{ "info": { "author": "David Thenon", "author_email": "dthenon@emencia.com", "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", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. _DjangoCMS: https://www.django-cms.org\n.. _djangocms_text_ckeditor: https://github.com/divio/djangocms-text-ckeditor\n\nsnippet\n=======\n\nThis is a \"cms.plugins.snippet\" (from djangocms) clone to extend it with some facilities\n\nOriginal code is from the original `DjangoCMS`_ plugin.\n\nChanges from original code\n--------------------------\n\nThis clone try to change as few orignal code as possible, actually the differences are :\n\n* Adding a template tag to directly use snippet fragments in the templates, not only from CMS pages;\n* Changing ``Snippet`` model to bind ``djangocms_text_ckeditor.fields.HTMLField`` on the field ``html``;\n\nRequires\n--------\n\n* `DjangoCMS`_ version >= 2.3 (tested with 2.3.6) (should not work with >= 3.x);\n* `djangocms_text_ckeditor`_ version 1.0.10;\n\nInstall\n-------\n\nThe only thing needed is to replace the ``cms.plugins.snippet`` in your `DjangoCMS`_ settings, like this : ::\n\n INSTALLED_APPS = (\n 'cms',\n # Plugins\n ...\n #'cms.plugins.snippet',\n 'snippet', # the snippet plugin clone\n ...\n )\n\nBecause the code is cloned from the original plugin with just a few changes, all CMS stuff should work as with the original plugin, you should even add it in an existing install without loss in database and without any syncdb.\n\nUsage\n-----\n\nTemplate tags\n.............\n\nUse the template tags in your templates : ::\n\n {% load snippet_tags %}\n {% snippet_fragment [Snippet ID or instance] %}\n\nLike this : ::\n\n {% load snippet_tags %}\n {% snippet_fragment 42 %}\n \nThe required argument is for the Snippet ID or a Snippet instance if you want.\n\nSnippet html field\n..................\n\nYou don't need to do nothing, the CKEditor should automatically take in place of the textarea input.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/emencia-cms-snippet", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "snippet", "package_url": "https://pypi.org/project/snippet/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/snippet/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/emencia-cms-snippet" }, "release_url": "https://pypi.org/project/snippet/2.3.6.1/", "requires_dist": null, "requires_python": null, "summary": "\"cms.plugins.snippet\" (from djangocms) clone to extend it with some facilities", "version": "2.3.6.1" }, "last_serial": 821696, "releases": { "2.3.6.1": [] }, "urls": [] }