Saravanan666/pypi-org huggingface dataset:
Package: djangocms-page-tags
Tagged pages for django CMS 3Python: 3.7, 3.8, 3.9, 3.10Django: 2.2, 3.2django CMS: 3.7 - 3.10QuickstartInstall djangocms-page-tags:pip install djangocms-page-tagsThen add it to INSTALLED_APPS along with its dependencies:"taggit",
"taggit_autosuggest",
"djangocms_page_tags",Addtaggit_autosuggestto urlconf:path("taggit_autosuggest", include("taggit_autosuggest.urls")),Execute migration:$ python manage.py migrateUsageYou will find two new items in the toolbar Page menu:Title tags (per language)Page tags (global)These items allows to add tags toTitleandPageinstances, respectivelyTemplatetagsdjangocms-page-tagsallows showing tags using four templatetagsinclude_page_tagsinclude_title_tagspage_tagstitle_tagsDocumentationFor further documentation seehttps://djangocms-page-tags.readthedocs.io/History1.1.0 (2023-05-08)FeaturesUpdate GH actions / linting configuration (#40)1.0.0 (2022-08-27)BugfixesAdd support for Django 3.2 / django CMS 3.10 (#33)Skip creating toolbar item in page types (#36)0.9.0 (2020-12-05)FeaturesAdd support for Python 3.9 (#29)migrate from travis, drop Python 2/Django Cms 3.6 support (#10210)0.8.0 (2019-12-27)Add Django 2.2Add django CMS 3.7Add Python 3.7Drop compatibility with django CMS < 3.60.7.0 (2019-08-22)Drop compatibility with Django < 1.11Drop compatibility with Python 3 < 3.50.6.2 (2019-03-09)Add Django 2.0, 2.1 supportAdd django CMS 3.6 support0.6.1 (2018-03-29)Properly set migration dependenciesImprove compatibility with django CMS 3.5Fix issues with tox on travis0.6.0 (2017-12-30)Add Django 1.11 supportDrop django CMS 3.2, 3.30.5.0 (2016-12-02)Add Django 1.10 supportAdd support for django CMS 3.3, 3.4Drop Django 1.7 and belowDrop django CMS 3.1 and below0.4.2 (2016-01-08)Fix handling of pages in non existing languages0.4.1 (2015-10-03)Add support for django CMS 3.2Add support for Django 1.8Update translationPEP-8 / isort code cleanup0.4.0 (2015-06-29)Add support for django CMS 3.1Add support for Django 1.7Use djangocms-helper for testing0.3.0 (2014-04-20)Support for django CMS 3.0 final0.2.1 (2014-03-29)Support for django CMS 3.0 RC1Add verbose description0.2.0 (2014-02-02)Fix for django CMS 3 develop update0.1.4 (2014-01-26)Metadata cleanup0.1.3 (2014-01-22)Put toolbar menu items in a submenu0.1.2 (2014-01-16)Documentation update0.1.1 (2014-01-16)Add transifex support0.1.0 (2014-01-15)Experimental release.
Package: djangocms-panel
djangocms-panel=================A Bootstrap panel plugin for Django CMS.Installation------------This plugin requires `Django-CMS` 3.0 or higher, and `Django` 1.7 or higher.* Add ``'djangocms_panel'`` to your ``INSTALLED_APPS`` setting.* Run ``manage.py migrate djangocms_panel``.Usage-----Just add the `Panel` CMS plugin to any placeholder in your pages. It acts as acontainer for other plugins, much like the built-in columns plugin.
Package: djangocms-parallaxjs
InstallationTo get started usingdjangocms-parallaxjs:install it withpip:$ pip install djangocms-parallaxjsadd the app toINSTALLED_APPS:INSTALLED_APPS = (
    ...
    'djangocms_parallaxjs',
    ...
)Plugin OptionsPlease referencehttps://pixelcog.github.io/parallax.js/for all the options.
Package: django-cms-patched
A Django application for managing hierarchical pages of content, possibly in
multiple languages and/or on multiple sites.Django CMS handles the navigation rendering for you with clean, slug based URLs,
and this navigation can be extended by custom Django applicationsYou can define editable areas, called placeholders, in your templates which you
can fill with CMS plugins, by default we ship the following plugins:FileFlashGoogle MapLinkPictureHTML SnippetTeaserTextVideoTwitterHowever this is not the end of the list, there are many3rd party pluginsalready available for you to use. Should you be unable to find a suitable plugin
for you needs, writing your own is very simple.More information onour website.DocumentationPlease head over to ourdocumentationfor all
the details on how to install, extend and use the django CMS.Getting HelpPlease head over to our IRC channel, #django-cms, on irc.freenode.net or write
to ourmailing list.CreditsThis is a fork of thedjango-page-cms.Includes icons fromFamFamFam.Video plugin uses theOSFlashVideoPlayer.Includes theWymeditor.Python tree engine powered bydjango-mptt.Javascript tree in admin usesjsTree.Many thanks to theover 150 contributorsto the django CMS!
Package: djangocms-pathomation
djangocms-pathomationAdd live slide viewing capabilities to your own website built on Django CMSHOW TO INSTALLDjango CMS not installed yet?Take a look at the official documentation: (https://docs.django-cms.org/en/release-3.4.x/introduction/install.html)Install our packagepip install djangocms-pathomationGet the plugin code (this will create a folder "plugin" in the location where you are currently located with your terminal)pip install --no-deps djangocms-pathomation -t pluginGo to your current location folder and open the folder "plugin". Inside, copy the folder "pathomation" into directory of your django-cms project wheresettings.pyis also located.Opensettings.py(located inside the folder with the name of your website/project) with an editor and add "pathomation" to INSTALLED_APPSINSTALLED_APPS = ['pathomation',]Navigatecdwith your terminal into your django-cms project wheremanage.pyis located and run the following command:Python manage.py makemigrationsFinally, run the following command:Python manage.py migrateDone! You can start the server again with the following command:Python manage.py runserverQUICK STARTInside Django CMS, navigate to the admin page by adding/adminto the end of your site's URLwww.example.com/admin/Inside the Django administration, navigate to Pathomation -> Settings ->+add-> My Pathomation connection settings and fill in your credentials and save.To make sure your credentials are correct: Test the connection, by clicking on theTest connectionbutton.Go to a page where you want to create a new post, toggle the structure by clicking on the icon on the top right.Click on the "+" sign to add a new content and selectPathomation slideSelect the slide that you want to display and click onsave.To see the result, click onpublish page changes
Package: djangocms-pdfembed
This is a plugin for [django CMS](https://www.django-cms.org/) to let users embed a PDF file on webpages.It uses django-filer for the file upload handling.InstallationAddpdfembedtoINSTALLED_APPS.Runmanage.py migrateto apply the needed migrations.CustomizationThe default template will render the PDF in an iframe with default width 100% and heigth 500px. These can be changed in the plugin creation wizard.The template is located in/templates/pdfembed/pdf_embed.htmland can also on that location be overwritten in your own project.
Package: djangocms-photo-gallery
djangocms-photo-galleryTable of ContentsInstallationLicenseInstallationpip install djangocms-photo-gallerySettings:INSTALLED_APPS:list[str]=[# …'easy_thumbnails','djangocms_photo_gallery',]THUMBNAIL_ALIASES:dict[str,dict[str,dict[str,any]]]={# …'djangocms_photo_gallery':{'overview':{'size':(300,200),'crop':'smart','upscale':True},'popup':{'size':(1400,1400),'crop':False,'upscale':False},},}The following CSS and JS libraries should be included in you base template, which should be namedbase.html:jQueryFomantic-UIColorbox - a jQuery lightboxAlternatively you can change the templates and use libraries of your choice.Licensedjangocms-photo-galleryis distributed under the terms of theMITlicense.
Package: djangocms-placeholder-attr
Django CMS Placeholder AttributeDescriptiondjangocms-placeholder-attrallow you to call a plugin model
attribute from a placeholder indjango-cmsDependsdjango-cmsInstallationuse pippip installdjangocms-placeholder-attrPut in your INSTALLED_APPS:INSTALLED_APPS +=('djangocms-placeholder-attr',)Usagecms_placeholder_attrprovide two tagsplaceholder_attrandshow_placeholder_attrwhich are similar to django-cmsplaceholderandshow_placeholdertags, but plugin model
oriented.placeholder_attr{%placeholder_attr'placeholder_name''plugin_model_class_name''model_attribute_name'%}show_placeholder_attr{%show_placeholder_attr'placeholder_name''placeholder_id''plugin_model_class_name''model_attribute_name'%}Be sure to have a placeholder namedplaceholder_nameto use this
plugin.if you have a foreign key attribute you can use the following syntax:my_fk_attribute.an_attribute_from_the_fk
Package: djangocms-popup
This is a screenshot of an actual popup with the default css.InstallInstall modulepython3 -m pip install djangocms-popupAdd it to your INSTALLED_APPS"djangocms_popup",Migratepython3 manage.py migrate djangocms_popupLaunch your django-cms site, it should be here!Requirementsdjango-cms: Obviously,django-sekizai: Only for the template.FeaturesA popupAn Admin list of popups that you can access from a button in your taskbarMore popups!You can add more choices for the popup using a tuple in your settings, that let you choose which template file to use for each popup.To do so, just add a var namedDJANGOCMS_POPUP_LISTin your settings, like this:DJANGOCMS_POPUP_LIST=(("bottom_right.html","Bottom right popup"),("bottom_left.html","Bottom left popup"),("top_right.html","Top right popup"),("top_left.html","Top left popup"),("center.html","Center popup"),)Don't forget to add all the templates in thetemplates/popup/folder!ConfigurationDJANGOCMS_POPUP_LIST(default:(("bottom_right.html", "Bottom right popup"),))
Just a tuple. Let user choose other templates for the popups.DJANGOCMS_POPUP_TOOLBAR_BUTTON(boolean, default:True)
Whether to add a button in the CMS toolbar to list all existing popupsDJANGOCMS_POPUP_TOOLBAR_MENU_IDENTIFIER(string, default:None)
The identifier of the menu in which the new button will be added.
If it is None it will be added in the main toolbar.:warning: Beware that the menu matching the provided menu identifier must exist prior to the creation of the Popup menu: the app defining this menu must appear before djangocms_popup in your INSTALLED_APPS.DJANGOCMS_POPUP_TOOLBAR_MENU_POSITION(integer, default:None)
The position of the button in the toolbar or in the menu defined byDJANGOCMS_POPUP_TOOLBAR_MENU_IDENTIFIERCustomize it!The template included in this project serves demonstration purpose only, it's up to you to integrate it into your graphic charter by creating a file intemplates/popup/popup_plugin.html.How it worksIt's a classic djangocms-plugin, with all the stuff inadmin.py,cms_plugins.py,cms_toolbars.pyandmodels.py.The "fun" part is in the template.The child plugins will be rendered inside a div which have avisibilityproperty (seeMDN doc).Then, averydumb script (in vanilla javascript) will display the div with a delay usingsetTimeout, and will add an event listener on a small button (that will show/hide the popup when clicked).If the option "Allow the popup to be reopened if it is closed", the small button will still be visible, even if you refresh the page.The state of the popup is stored inside the localStorage (the id ispopup_is_open_{{ instance.id }}), so a closed popup won't reopen at a page reload.Warning!The plugin uses thevisibilityproperty! So if any of the plugins you put inside the popup have avisibilit: visibleproperty it will be shown!
Package: django-cms-qe
Django CMS QEDjango CMS Quick & Easy provides all important modules to run new page
without a lot of coding. Aims to do it very easily and securely.For more information please readdocumentationorGitLab.DevelopmentTo prepare your dev environment run this command:make prepare-dev  (run with apt get update)
make prepare-envCaution! It is allowed only Python >= 3.9 due to typing:VENV_PYTHON=/usr/bin/python3.9 make prepare-venvTo prepare the explicit python version into the explicit folder:VENV_PATH=/home/username/venv VENV_PYTHON=/usr/bin/python3.9 make prepare-venv
export VENV_PATH=/home/username/venvTo run tests or lint use this commands:make test
make lintTo run only particular test:make test=cms_qe_table/tests/test_utils.py::test_get_model_by_table testTo run example use this command:make run-exampleTo call other Django commands:make cmd  (List django commands, same like --help)
make cmd=dbshell cmd
make cmd='createsuperuser --username=dave --email=dave@rd.foo' cmdTo find more useful commands, run justmake.UpgradeTo upgrade from version2.2to version >=3.0.0, you can use theDjangoCMS upgrade pluginstool.
Package: djangocms-rawhtml
djangcms-rawhtmlDjangoCMS Plugin that lets you insert raw HTML code into a page.A raw HTML plugin may be a bit of a CMS anti-pattern, but every now and then there are times when inserting a little block of HTML code is needed to get a job done quickly.This Plugin combines the ideas ofcmsplugin-raw-html <https://github.com/makukha/cmsplugin-raw-html>_
withcode-editor-django-admin <https://mr-coffee.net/blog/code-editor-django-admin>_ by giving
you a nice HTML editorCodeMirror <http://codemirror.net/>_ to edit the code in rather than
a defaultTextField.InstallationInstall via pip::pip install djangocms-rawhtmlAdd to yourINSTALLED_APPS(insettings.py)::INSTALLED_APPS = (
...
'djangocms_rawhtml',
...
)Run migrations::python manage.py migrate djangocms_rawhtml"Raw HTML" should now be available as a plugin in the CMS!ConfigurationIn yoursettings.pyyou can set:CODEMIRROR_THEME: (Optional) The name of the codemirror theme you would like to use (just the name, don't include the.csspart).  Will usedefaultif not set.  See:https://codemirror.net/theme/for a list of themes.
Package: djangocms-redirect
A django CMS enabled application to handle redirectsThis is heavily borrowed fromdjango.contrib.redirectswith three major changes:Selection of django CMS pagesSelection of redirect status codeMiddleware can processed in the request or response phaseWhy using process_request?Doing database queries in the middlewareprocess_requestis heavily discouraged as it’s a
performance hit, especially when doing redirects which are just a tiny part of the
processed requests.
Except that sometimes it’s just what you need (for example to “hide” content without deleting
/ unpublishing it)
By caching both existing and non existing redirects for a given URL the performance hit is
minimized for the use cases that requiresprocess_request.DocumentationThe full documentation is athttps://djangocms-redirect.readthedocs.io.InstallationSeehttps://djangocms-redirect.readthedocs.io/en/latest/installation.htmlFeaturesSet old and new path, by selection existing django CMS pages or writing down the complete addressSelect the redirect status code (301, 302)Support for status code 410CreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackage-helperHistory0.7.2 (2023-09-26)FeaturesMigrate to bump-my-version (#56)0.7.1 (2023-08-11)FeaturesAdd missing subpath_match and catchall_redirect fields in admin (#44)BugfixesFix django-multisite compatibility issue (#47)0.7.0 (2023-08-09)FeaturesAdd django 4.2 compatibility, drop python<3.9, djangocms<3.9 and django<3.2 (#42)0.6.0 (2020-11-15)FeaturesDrop Python 2, Django < 2.2 - Update toolchain (#39)Fix Handling of trailing slashes in redirects (#31)UnreleasedNothing yet0.5.0 (2019-12-27)Add compatibility with Django 2.2Drop compatibility with Django < 1.11Drop compatibility with django CMS < 3.6Move to django-app-helperAdd support to match unquoted strings as redirect old path0.4.0 (2019-08-22)Add subpath matching0.3.1 (2019-07-13)Ignore querystring when matching redirect objects0.3.0 (2019-03-11)Added compatibility to Django 2.0, 2.10.2.3 (unreleased)Add support to match unquoted strings as redirect old path0.2.2 (2019-06-02)Ignore querystring when matching redirect objects0.2.1 (2019-04-22)Fixed compatibility issue with Django 1.80.2.0 (2018-11-03)Updated for Django 1.11Added configurable cache timeoutAdded configuration option to check redirect on 404 only0.1.1 (2017-11-19)Added missing migration.Fixed compatibility issue with Django 1.80.1.0 (2016-02-01)First release on PyPI.
Package: djangocms-responsive-wrapper
This projects integratesdjango-responsive2withdjango-cms >= 3.0This django CMS plugin will allow a site editor to display different contents based on breakpoints. For a more detailed description and reasoning behind this concept, please read the project description fordjango-responsive2.This project requiresdjango-responsive2anddjango-cmsv3.0 or higher to be properly installed and configured. When installing thedjangocms-responsive-wrapperusing pip,django-responsive2will also be installed automatically.The full documentation fordjango-responsive2is available athttps://django-responsive2.readthedocs.org.QuickstartInstalldjangocms-responsive-wrapper:pip install djangocms-responsive-wrapperAddresponsive_wrappertoINSTALLED_APPS:INSTALLED_APPS = (
    ...
    'responsive_wrapper',
    ...
)AJAX load plugin based on window sizeBy default,responsive_wrapperrenders the plugins based on device dimensions.However, if you would like the plugin to use the window size to render the plugin, set theRESPONSIVE_WRAPPER_TEMPLATEto use an alternate template:RESPONSIVE_WRAPPER_TEMPLATE = 'responsive_wrapper/live_reload.html'And add theresponsive_wrapper.urlsto your project’surlsmodule or create a django CMS page to hook the application into. InAdvanced Settings, set its Application toResponsive Wrapper(this requires a server restart):urlpatterns = patterns(
    ...
    url(r'^responsive/', include('responsive_wrapper.urls')),
    ...
)TheResponsiveWrapper.js, included in thelive_reload.htmltriggers areplaceevent when the content has been replaced. This can be useful when you want to change some styles  or reinitialize any JavaScript on your page based on which content is loaded.ConfigurationPlugin(s) Module:RESPONSIVE_WRAPPER_MODULE = _('Generic')Name of the plugin:RESPONSIVE_WRAPPER_NAME = _('Responsive Wrapper')The path to the template used to render the template:RESPONSIVE_WRAPPER_TEMPLATE = 'responsive_wrapper/default.html'Can the plugin be inserted inside the text plugin?RESPONSIVE_WRAPPER_TEXT_ENABLED = FalseCan this plugin only be attached to a placeholder that is attached to a page?:RESPONSIVE_WRAPPER_PAGE_ONLY = FalseA List of Plugin Class Names. If this is set, only plugins listed here can be added to this plugin:RESPONSIVE_WRAPPER_CHILD_CLASSES = NoneIs it required that this plugin is a child of another plugin? Or can it be added to any placeholder:RESPONSIVE_WRAPPER_REQUIRE_PARENT = FalseA list of Plugin Class Names. If this is set, this plugin may only be added to plugins listed here:RESPONSIVE_WRAPPER_PARENT_CLASSES = NoneSet fieldsets to control the layout of plugin “add” and “change” form:RESPONSIVE_WRAPPER_FIELDSETS = NoneYou may also like…djangocms-disqus -https://github.com/mishbahr/djangocms-disqusdjangocms-fbcomments -https://github.com/mishbahr/djangocms-fbcommentsdjangocms-forms —https://github.com/mishbahr/djangocms-formsdjangocms-gmaps —https://github.com/mishbahr/djangocms-gmapsdjangocms-instagram —https://github.com/mishbahr/djangocms-instagramdjangocms-twitter2 —https://github.com/mishbahr/djangocms-twitter2djangocms-youtube —https://github.com/mishbahr/djangocms-youtube
Package: djangocms-rest-api
An application to use CMS content and features via REST API.djangocms-rest-api uses Django REST framework to serve django CMS data through a REST APIInstallationpip install djangocms-rest-apiEditINSTALLED_APPS:INSTALLED_APPS = [
    ...
    'rest_framework',
    'djangocms_rest_api',
    ...
]Editurls.py:urlpatterns = [
    ...
    url(r'^api/', include('djangocms_rest_api.urls', namespace='api')),
    ...
]That’s all!FeaturesCreditsLicenseMIT
Package: djangocms-rest-view
djangocms-rest-viewAn application to load django CMS pages in a client application.djangocms-rest-view uses Django REST framework to serve django CMS pages through a REST APIEditing must still be done the “traditional” wayInstallationpip install djangocms-rest-viewEditINSTALLED_APPS:INSTALLED_APPS = [
    ...
    'rest_framework',
    'djangocms_rest_view',
    ...
]Editurls.py:urlpatterns = [
    ...
    url(r'^api/', include('djangocms_rest_view.urls')),
    ...
]That’s all!The REST view of the pages will be available athttp://example.com/api/Sample clientA sample Angular JS client is provided within the project.To start exploring djangocms-rest view, you can install it and browse the website:EditINSTALLED_APPS:INSTALLED_APPS = [
    ...
    'djangocms_rest_view.client',
    ...
]Editurls.py:urlpatterns = [
    ...
    url(r'^rest/', include('djangocms_rest_view.client.urls')),
    ...
]the Angular client will be available athttp://example.com/rest/Install dependencies according to the application bower.json:https://gitix.iast.it/opensource/djangocms-rest-view/blob/master/bower.jsonexample:Copy dependencies in projectbower.jsonrun bower:bower installCustomizeThe sample client uses a dedicated base page to load all the default styles etc needed to render
your content.
Template is inrest/base.htmlcopy it fromdjangocms_rest_view/client/templates/rest/base.htmland edit it according your needs.TemplatesEach django CMS has a defined template to render.You can customize the template the AngularJS client will use to render the page:create apartialdirectory in thestaticdirectorycreatehtmlfiles for each page templatedefine the content of the rest-page template to render the placeholders and page title:<article class="body">
  <h2 ng-bind="content_page.title"></h2>
  <p ng-bind-html="content_page.placeholders.content | safe"></p>
</article>content_pageis the page serialization in the angular scope and contains the full serialization
as visible athttp://example.com/api/pages/<page-id>; thuscontent_page.placeholders.contentcontains the rendered HTML for thecontentplaceholder.CreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackage-helperHistory0.1.9 (2016-09-25)Fixed compatibility with django CMS 3.40.1.8 (2016-09-10)First public “#PyConUK” release0.1.0 (2016-02-01)Internal release
Package: djangocms-revealjs
django CMS plugin to create reveal.js presentationsStill Experimental and largely undocumentedQuickstartInstall djangocms-revealjs:pip install djangocms-revealjsThen add it to INSTALLED_APPS along with its dependencies:'filer',
'djangocms_revealjs',Download and installreveal.jsin your django CMS project.FeaturesProvides four django CMS plugins to edit Reveal.JS presentations:Slide (RevealSlidePlugin)This is the plugin to insert normal slides.It supports settings transitions, background color and images, markdown syntax.Container (RevealSlidesContainer)Containers allow to nest slides in a vertical way.Only slides can be put in a container; only one-level of container is supported.Slide fragment (RevealFragmentPlugin)Fragments allow to display part of a slide progressively. This plugin handles
inline fragments (i.e.: likespanelements).Block slide fragment (RevealBlockFragmentPlugin)This plugin is equal to the above, but renders block fragments
(i.e.: likedivelements).Dependenciesdjango-filer>= 0.9.5History0.3.0 (2016-09-10)Allow RevealCodePlugin/RevealNotePlugin in RevealSlidePluginAdd reveal.js sources0.2.0 (2015-11-02)Add django 1.7 supportMinor enhancements0.1.1 (2015-09-13)Provide better titleMinor fixes0.1.0 (2014-04-27)First release on PyPI.