{ "info": { "author": "Evgeny Demchenko", "author_email": "little_pea@list.ru", "bugtrack_url": null, "classifiers": [], "description": "Django-editor\n==========================\n\n.. image:: https://secure.travis-ci.org/littlepea/django-editor.png\n :target: http://travis-ci.org/littlepea/django-editor\n\nAllows pluggable WYSIWYG editors in django admin without hard dependencies.\n\nCurrently supported editors (both optional):\n\n* `django-imperavi`_\n* `django-tinycme`_\n\nInstallation\n------------\n\n1. Install with pip::\n\n pip install django-editor\n\n2. (optional) Add `imperavi` or `tinymce` to your INSTALLED_APPS in `settings.py`::\n\n INSTALLED_APPS = (\n ...\n # Imperavi (or tinymce) rich text editor is optional\n 'imperavi',\n )\n\nUsage\n-----\n\n`editor` package gives you the following replacement classes:\n\n* `django.forms.widgets.Textarea` => `editor.EditorWidget` (becomes `ImperaviWidget` or `TinyMCE`)\n* `django.contrib.admin.ModelAdmin` => `editor.EditorAdmin` (becomes `ImperaviAdmin` or stays as `ModelAdmin`)\n* `django.contrib.admin.StackedInline` => `editor.EditorStackedInline` (becomes `ImperaviStackedInline` or stays as `StackedInline`)\n\nHere are some examples on how to easily turn your Textareas into WYSIWYG editors::\n\n # admin.py\n from django.db import models\n from django.contrib import admin\n from editor.admin import EditorAdmin, EditorWidget, EditorStackedInline\n\n\n class MyInlineAdmin(EditorStackedInline): # StackedInline example\n model = Model1\n\n\n class MyModel2Admin(EditorAdmin): # ModelAdmin example\n inlines = [MyInlineAdmin]\n\n admin.site.register(Model2, MyModel2Admin)\n\n\n class MyModel3Admin(admin.ModelAdmin):\n formfield_overrides = {\n models.TextField: {'widget': EditorWidget},\n }\n\n admin.site.register(Model3, MyModel3Admin)\n\nCredits\n-------\n\n- `django-imperavi`_\n- `django-tinycme`_\n- `modern-package-template`_\n- `django-newsletter`_ for providing pluggable editor code idea\n\n.. _`modern-package-template`: http://pypi.python.org/pypi/modern-package-template\n.. _django-imperavi: https://github.com/vasyabigi/django-imperavi\n.. _django-tinycme: https://github.com/aljosa/django-tinymce\n.. _django-newsletter: https://github.com/dokterbob/django-newsletter\n\n\n.. This is your project NEWS file which will contain the release notes.\n.. Example: http://www.python.org/download/releases/2.6/NEWS.txt\n.. The content of this file, along with README.rst, will appear in your\n.. project's PyPI page.\n\nNews\n====\n\n0.2a1\n-----\n\n*Release date: UNRELEASED*\n\n* Working on more editors. Stay tuned...\n\n\n0.1\n---\n\n*Release date: 19-Mar-2013*\n\n* Initial release\n* Supports django-imperavi and django-tinycme\n* 3 admin classes: EditorAdmin, EditorWidget, EditorStackedInline\n* Test coverage", "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/littlepea/django-editor", "keywords": "", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-editor", "package_url": "https://pypi.org/project/django-editor/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-editor/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/littlepea/django-editor" }, "release_url": "https://pypi.org/project/django-editor/0.1/", "requires_dist": null, "requires_python": null, "summary": "Allows pluggable WYSIWYG editors in django admin without hard dependencies", "version": "0.1" }, "last_serial": 928101, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "420f2d17168bc3f799e827d120b62f2a", "sha256": "d66f773451de16f17d681f6e1261acfee6d9c14c69f725246b2a52226e70e7b2" }, "downloads": -1, "filename": "django-editor-0.1.tar.gz", "has_sig": false, "md5_digest": "420f2d17168bc3f799e827d120b62f2a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6175, "upload_time": "2013-03-19T09:39:00", "url": "https://files.pythonhosted.org/packages/54/a8/84fa891bb05b5412b4f7c91e1fe5d5f97cc83e2ae8b825bbd75e6ac1755c/django-editor-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "420f2d17168bc3f799e827d120b62f2a", "sha256": "d66f773451de16f17d681f6e1261acfee6d9c14c69f725246b2a52226e70e7b2" }, "downloads": -1, "filename": "django-editor-0.1.tar.gz", "has_sig": false, "md5_digest": "420f2d17168bc3f799e827d120b62f2a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6175, "upload_time": "2013-03-19T09:39:00", "url": "https://files.pythonhosted.org/packages/54/a8/84fa891bb05b5412b4f7c91e1fe5d5f97cc83e2ae8b825bbd75e6ac1755c/django-editor-0.1.tar.gz" } ] }