{ "info": { "author": "Abhinav Sohani", "author_email": "thecodinghouse12@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "mezzanine-sirtrevor\r\n=========\r\n\r\n[Sir Trevor editor] for [Mezzanine CMS]. It replaces the default editor with [Sir Trevor editor] . The code is taken from [django-sirtrevor] and made the appropriate changes to work with mezzanine and incorporate media library with image upload.\r\n\r\nQuick start\r\n-----------\r\n\r\n1. Install mezzanine-sirtrevor::\r\n\r\n > pip install mezzanine-sirtrevor\r\n\r\n2. Add ``sirtrevor`` to your INSTALLED_APPS setting like this::\r\n\r\n > INSTALLED_APPS = (\r\n >\r\n > 'sirtrevor'.\r\n > .....\r\n > )\r\n\r\n3. Add sirtrevor urls::\r\n\r\n > url(r'^sirtrevor/', include('sirtrevor.urls')),\r\n4. add below settings\r\n \r\n > RICHTEXT_WIDGET_CLASS = \"sirtrevor.widgets.SirTrevorWidget\"\r\n \r\n > RICHTEXT_FILTERS = (\r\n \"sirtrevor.filters.json_html\",\r\n) \r\n\r\n\r\n\r\n-------\r\n**that's it. now you can see new editor in admin and inline editing area.**\r\n\r\nLimitation\r\n------------\r\n\"sirtrevor\" should be the first app in your installed apps list because it overrides editable.js. If you have your custom theme app then you need to merge your app with sirtrevor app.\r\n\r\n\r\nConfiguration\r\n-------------\r\n``SIRTREVOR_UPLOAD_PATH``\r\n Path where to store uploaded images relative to MEDIA_ROOT. (not configurable via widget kwargs) Defaults to uploads \r\n\r\nPlease check [Sir Trevor editor] and [django-sirtrevor] for more configuration options.\r\n\r\n\r\n[Mezzanine CMS]:http://mezzanine.jupo.org/\r\n[Sir Trevor editor]:http://madebymany.github.io/sir-trevor-js/\r\n[django-sirtrevor]:https://github.com/philippbosch/django-sirtrevor\r\n[configuration options]:http://madebymany.github.io/sir-trevor-js/docs.html#2", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/thecodinghouse/mezzanine-sirtrevor", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "mezzanine-sirtrevor", "package_url": "https://pypi.org/project/mezzanine-sirtrevor/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/mezzanine-sirtrevor/", "project_urls": { "Homepage": "https://github.com/thecodinghouse/mezzanine-sirtrevor" }, "release_url": "https://pypi.org/project/mezzanine-sirtrevor/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Sir Trevor editor for Mezzanine", "version": "0.1.0" }, "last_serial": 1270919, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "bcc350e1b43a3e3f1577768407ac1b0f", "sha256": "14b3864c39d6908dfb24d7abf39b4ef76d0e8e55004560a61ad5a4642064a721" }, "downloads": -1, "filename": "mezzanine-sirtrevor-0.1.0.zip", "has_sig": false, "md5_digest": "bcc350e1b43a3e3f1577768407ac1b0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 465533, "upload_time": "2014-10-13T12:11:23", "url": "https://files.pythonhosted.org/packages/7b/5f/bb6865bd4e0156986f127cad6175f2cb460ad000317f3944fc363ae1ba93/mezzanine-sirtrevor-0.1.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bcc350e1b43a3e3f1577768407ac1b0f", "sha256": "14b3864c39d6908dfb24d7abf39b4ef76d0e8e55004560a61ad5a4642064a721" }, "downloads": -1, "filename": "mezzanine-sirtrevor-0.1.0.zip", "has_sig": false, "md5_digest": "bcc350e1b43a3e3f1577768407ac1b0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 465533, "upload_time": "2014-10-13T12:11:23", "url": "https://files.pythonhosted.org/packages/7b/5f/bb6865bd4e0156986f127cad6175f2cb460ad000317f3944fc363ae1ba93/mezzanine-sirtrevor-0.1.0.zip" } ] }