معرفی شرکت ها


emencia-cmsplugin-xinnia-0.9.1


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Django-CMS plugins for django-blog-xinnia
ویژگی مقدار
سیستم عامل -
نام فایل emencia-cmsplugin-xinnia-0.9.1
نام emencia-cmsplugin-xinnia
نسخه کتابخانه 0.9.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Emencia
ایمیل نویسنده support@emencia.com
آدرس صفحه اصلی https://github.com/emencia/emencia-cmsplugin-xinnia
آدرس اینترنتی https://pypi.org/project/emencia-cmsplugin-xinnia/
مجوز BSD License
.. _django-blog-zinnia: http://django-blog-zinnia.com/ .. _django-blog-xinnia: https://github.com/emencia/django-blog-xinnia .. _django-cms: http://django-cms.com/ ======================== emencia-cmsplugin-xinnia ======================== .. Note:: This is a fork of `emencia-cmsplugin-zinnia <https://github.com/emencia/emencia-cmsplugin-zinnia>`_ (which was a fork of original "cmsplugin-zinnia") to include fixes for last Django and DjangoCMS versions with `django-blog-xinnia`_ (a fork of `django-blog-zinnia`_). Code is almost unchanged except for needed fixes and even if package name has been renamed "xinnia", its module is still ``cmsplugin_zinnia``. Cmsplugin-zinnia is a bridge between `django-blog-xinnia`_ and `django-cms`_. This package provides plugins, menus and apphook to integrate your Zinnia powered Weblog into your django-cms Web site. .. contents:: .. _installation: Installation ============ Once Zinnia and the CMS are installed, you simply have to register ``cmsplugin_zinnia``, in the ``INSTALLED_APPS`` section of your project's settings. .. _entry-placeholder: Entries with plugins ==================== If you want to use the plugin system of django-cms in your entries, an extended ``Entry`` with a ``PlaceholderField`` is provided in this package. Just add this line in your project's settings to use it. :: ZINNIA_ENTRY_BASE_MODEL = 'cmsplugin_zinnia.placeholder.EntryPlaceholder' .. note:: You have to keep in mind that the default migrations bundled with Zinnia do not reflect the addition made by the ``EntryPlaceholder`` model. A solution to initialize correctly the database can be: :: $ python manage.py makemigrations $ python manage.py migrate Tips for using the apphook ========================== If you want to use the apphook to provide the blog functionnalities under a specific URL handled by the CMS, remember this tip: * Once the apphook is registered, you can remove the inclusion of ``'zinnia.urls'`` in ``urls.py`` and then restart the server to see it in full effect. .. _settings: Settings ======== CMSPLUGIN_ZINNIA_APP_URLS ------------------------- **Default value:** ``['zinnia.urls']`` The URLsets used for by the Zinnia AppHook. CMSPLUGIN_ZINNIA_APP_MENUS -------------------------- **Default value:** :: ['cmsplugin_zinnia.menu.EntryMenu', 'cmsplugin_zinnia.menu.CategoryMenu', 'cmsplugin_zinnia.menu.TagMenu', 'cmsplugin_zinnia.menu.AuthorMenu'] List of strings representing the path to the `Menu` class provided by the Zinnia AppHook. CMSPLUGIN_ZINNIA_HIDE_ENTRY_MENU -------------------------------- **Default value:** ``True`` Boolean used for displaying or not the entries in the ``EntryMenu`` object. CMSPLUGIN_ZINNIA_TEMPLATES -------------------------- **Default value:** ``[]`` (Empty list) List of tuple for extending the plugins rendering templates. Example: :: CMSPLUGIN_ZINNIA_TEMPLATES = [ ('entry_custom.html', 'Entry custom'), ('entry_custom_bis.html', 'Entry custom bis') ] CMSPLUGIN_ZINNIA_BASE_TEMPLATES ------------------------------- **Default value:** :: [('cmsplugin_zinnia/entry_list.html', _('Entry list (default)')), ('cmsplugin_zinnia/entry_detail.html', _('Entry detailed')), ('cmsplugin_zinnia/entry_slider.html', _('Entry slider'))] Available base templates, these are the shipped template from this application. Commonly you will prefer to use ``CMSPLUGIN_ZINNIA_TEMPLATES`` to add new templates. CMSPLUGIN_ZINNIA_DEFAULT_TEMPLATE --------------------------------- **Default value:** ``None`` Initial value for ``template_to_render`` field. If empty or undefined, initial value will be the first item of available template choices. .. _changelog: Changelog ========= Previous release history can be find in `original fork <https://github.com/emencia/emencia-cmsplugin-zinnia>`_. 0.9.1 - 2021/02/27 ------------------ * Drop support for Django<2.2 and django-cms<3.7; * Fix some package informations * Add missing pending migrations for template fields update from ">0.9"; * Use ``BooleanField`` with ``null=True`` instead of deprecated ``NullBooleanField``; 0.9.0 - 2021/02/23 ------------------ * Remove usage of deprecated ``python_2_unicode_compatible`` in models; * Use ``gettext_lazy`` instead of deprecated ``ugettext_lazy``;


نحوه نصب


نصب پکیج whl emencia-cmsplugin-xinnia-0.9.1:

    pip install emencia-cmsplugin-xinnia-0.9.1.whl


نصب پکیج tar.gz emencia-cmsplugin-xinnia-0.9.1:

    pip install emencia-cmsplugin-xinnia-0.9.1.tar.gz