{ "info": { "author": "Bas Koopmans", "author_email": "e-mail@baskoopmans.nl", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "====================\nDjango Aloha Editor\n====================\n\nThe Django Aloha Editor is a WYSIWYG editor for all your Django powered websites\nBy default it always uses the latest version of Aloha Editor http://aloha-editor.org/\n\n.. image:: docs/example.jpg\n\n\nHow it works\n============\nDjango Aloha Editor checks the user permissons, wraps the content with an aloha editor
and\nsaves the edited content with an AJAX call.\n\nInstallation\n============\n\n#. pip install django-aloha-editor\n\n#. Add the following url to your project's `urls.py` file:\n\n\t``url(r'^__alohaeditor__/', include('aloha_editor.urls', namespace='aloha_editor')),``\n\n#. Add ``aloha_editor`` to your ``INSTALLED_APPS`` setting so Django can find the\n template files and template tags associated with Aloha Editor.\n\n\nExample\n=======\n\nviews.py\n--------\n\n.. code-block:: python\n\n from django.shortcuts import render_to_response\n from books.models import Book\n\n\n def book_detail(request, book_id):\n try:\n book = Book.objects.get(pk=book_id)\n except Book.DoesNotExist:\n raise Http404\n return render_to_response('book_detail.html', {'book': book})\n\n\nbook_detail.html\n----------------\n\n.. code-block:: html\n\n {% load aloha_editor %}\n \n \n {% if user.is_authenticated %}\n {% include \"aloha_editor/css.html\" %}\n {% include \"aloha_editor/js.html\" %}\n {% endif %}\n \n \n

{{ book.title }}

\n {% aloha_editor book.description %}\n \n \n\nTODOs and BUGS\n==============\nYou found a bug or have a suggestion for improvement, please let me know!\n\nSee: http://github.com/baskoopmans/django-aloha-editor/issues", "description_content_type": null, "docs_url": null, "download_url": "http://github.com/baskoopmans/django-aloha-editor/downloads", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/baskoopmans/django-aloha-editor/", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-aloha-editor", "package_url": "https://pypi.org/project/django-aloha-editor/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-aloha-editor/", "project_urls": { "Download": "http://github.com/baskoopmans/django-aloha-editor/downloads", "Homepage": "http://github.com/baskoopmans/django-aloha-editor/" }, "release_url": "https://pypi.org/project/django-aloha-editor/1.1.0/", "requires_dist": null, "requires_python": null, "summary": "A set of project independent reusable features.", "version": "1.1.0" }, "last_serial": 1311886, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "08d764c116131a8d5b3e62e1f3f6b2b8", "sha256": "5ff8fce79ab3af6aec0cf802860d58fe0a2f56324c199af5fe13783eeaedaa52" }, "downloads": -1, "filename": "django-aloha-editor-1.0.zip", "has_sig": false, "md5_digest": "08d764c116131a8d5b3e62e1f3f6b2b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11736, "upload_time": "2014-07-10T16:02:44", "url": "https://files.pythonhosted.org/packages/86/d5/dd4e540c8c10af519d9729cf4c517f7ae0c3cb576bc821a55a86c248c26a/django-aloha-editor-1.0.zip" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "30d58006adf64ed3948e20462a69e796", "sha256": "cf4c008889b81c7674e50ff0373e5a89dd2f2c28be037d8c95ad9da05120269a" }, "downloads": -1, "filename": "django-aloha-editor-1.1.0.zip", "has_sig": false, "md5_digest": "30d58006adf64ed3948e20462a69e796", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11680, "upload_time": "2014-11-18T19:41:31", "url": "https://files.pythonhosted.org/packages/9b/0b/8dda5aaf1a4fedf4191f796a9076e5c4c05903377de7d2b9b36a10b145c4/django-aloha-editor-1.1.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "30d58006adf64ed3948e20462a69e796", "sha256": "cf4c008889b81c7674e50ff0373e5a89dd2f2c28be037d8c95ad9da05120269a" }, "downloads": -1, "filename": "django-aloha-editor-1.1.0.zip", "has_sig": false, "md5_digest": "30d58006adf64ed3948e20462a69e796", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11680, "upload_time": "2014-11-18T19:41:31", "url": "https://files.pythonhosted.org/packages/9b/0b/8dda5aaf1a4fedf4191f796a9076e5c4c05903377de7d2b9b36a10b145c4/django-aloha-editor-1.1.0.zip" } ] }