معرفی شرکت ها


django-pagelets-2.0.0


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Simple, flexible app for integrating static, unstructured content in a Django site
ویژگی مقدار
سیستم عامل -
نام فایل django-pagelets-2.0.0
نام django-pagelets
نسخه کتابخانه 2.0.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Caktus Consulting Group
ایمیل نویسنده solutions@caktusgroup.com
آدرس صفحه اصلی https://github.com/caktus/django-pagelets/
آدرس اینترنتی https://pypi.org/project/django-pagelets/
مجوز BSD
django-pagelets =============== django-pagelets is a simple, flexible app for integrating static, unstructured content in a Django site. For complete documentation, checkout `<http://django-pagelets.readthedocs.org>`_ Features -------- - "Pagelets" for adding small pieces of content to otherwise static templates - CMS "pages" which include any number of pagelets and, if needed, attachments - Different pagelet content types including HTML and Markdown - An integrated WYSIWYG editor (`WYMeditor <http://www.wymeditor.org/>`_) which can be selectively enabled/disabled Required Dependencies --------------------- - Django >= 2.2 - A Python version supported by your chosen Django version - Django admin site - django-taggit 0.12.1 or greater - django-selectable 1.2.1 or greater - The `django.template.context_processors.request` context processor Optional Dependencies --------------------- - `jQuery 1.7 <http://jquery.com>`_ - `WYMeditor <http://www.wymeditor.org/>`_ (included in pagelets media) Installation and Setup ---------------------- #. django-pagelets is available on `PyPI <http://pypi.python.org/pypi/django-pagelets>`_, so the easiest way to install it is to use `pip <http://pip.openplans.org/>`_:: pip install django-pagelets #. Add `pagelets`, `selectable` and `taggit` to INSTALLED_APPS in settings.py and run migrate:: INSTALLED_APPS = ( ..., 'pagelets', 'selectable', 'taggit' ... ) #. Make sure `django.template.context_processors.request` is loaded and that you have a template directory with a "base.html" template in it:: TEMPLATES=[ { ... 'DIRS': ['/home/user/projects/myproject/templates'], # <- should have 'base.html' inside ... 'OPTIONS': { 'context_processors': [ ... 'django.template.context_processors.request', ] }, }, ], #. Add the pagelets URLs to urls.py, e.g.:: urlpatterns += [ path('selectable/', include('selectable.urls')), path('pagelets-management/', include('pagelets.urls.management')), path('/', include('pagelets.urls.content')), ] #. Visit the admin site, add and save a new page, and click the View on site link. If everything is setup correctly, you should be able to see and edit the content you just added. Development sponsored by `Caktus Consulting Group, LLC. <http://www.caktusgroup.com/services>`_.


نیازمندی

مقدار نام
>=1.2.1 django-selectable
>=0.12.1 django-taggit


نحوه نصب


نصب پکیج whl django-pagelets-2.0.0:

    pip install django-pagelets-2.0.0.whl


نصب پکیج tar.gz django-pagelets-2.0.0:

    pip install django-pagelets-2.0.0.tar.gz