معرفی شرکت ها


django-aloha-editor-1.1.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A set of project independent reusable features.
ویژگی مقدار
سیستم عامل -
نام فایل django-aloha-editor-1.1.0
نام django-aloha-editor
نسخه کتابخانه 1.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Bas Koopmans
ایمیل نویسنده e-mail@baskoopmans.nl
آدرس صفحه اصلی http://github.com/baskoopmans/django-aloha-editor/
آدرس اینترنتی https://pypi.org/project/django-aloha-editor/
مجوز BSD
==================== Django Aloha Editor ==================== The Django Aloha Editor is a WYSIWYG editor for all your Django powered websites By default it always uses the latest version of Aloha Editor http://aloha-editor.org/ .. image:: docs/example.jpg How it works ============ Django Aloha Editor checks the user permissons, wraps the content with an aloha editor <div> and saves the edited content with an AJAX call. Installation ============ #. pip install django-aloha-editor #. Add the following url to your project's `urls.py` file: ``url(r'^__alohaeditor__/', include('aloha_editor.urls', namespace='aloha_editor')),`` #. Add ``aloha_editor`` to your ``INSTALLED_APPS`` setting so Django can find the template files and template tags associated with Aloha Editor. Example ======= views.py -------- .. code-block:: python from django.shortcuts import render_to_response from books.models import Book def book_detail(request, book_id): try: book = Book.objects.get(pk=book_id) except Book.DoesNotExist: raise Http404 return render_to_response('book_detail.html', {'book': book}) book_detail.html ---------------- .. code-block:: html {% load aloha_editor %} <html> <head> {% if user.is_authenticated %} {% include "aloha_editor/css.html" %} {% include "aloha_editor/js.html" %} {% endif %} </head> <body> <h1>{{ book.title }}</h1> {% aloha_editor book.description %} </body> </html> TODOs and BUGS ============== You found a bug or have a suggestion for improvement, please let me know! See: http://github.com/baskoopmans/django-aloha-editor/issues


نحوه نصب


نصب پکیج whl django-aloha-editor-1.1.0:

    pip install django-aloha-editor-1.1.0.whl


نصب پکیج tar.gz django-aloha-editor-1.1.0:

    pip install django-aloha-editor-1.1.0.tar.gz