Saravanan666/pypi-org huggingface dataset:
Package: djangocms-mapycz-markers
DjangoCMS Mapy.cz MarkersTheDjangoCMS Mapy.cz Markersmodule is a plugin for theDjangoCMSframework.
It is used for displaying map with markers. Map is provided byMapy.cz.
Plugin was created onMapy API version 4.13 – Neil Armstrong.UsagePlugin "Mapy.cz Markers"TheMapy.cz Markersplugin displays a map of the Czechia. You can set the map size, location and zoom size. It is also possible to disable map controls (scroll bar and map base types) and mouse wheel zooming. By default, markers that are close to each other are automatically grouped together. This feature can also be turned off.Plugin "Markers"TheMarkerplugin displays a marker on the map. Each marker includes the address of a point on the map and its exact location, given by latitude and longitude. When entering an address, a whisperer with a list of known addresses is displayed. When you select a marker from the list, its latitude and longitude are automatically added to the marker.It is also possible to set the title of the tag, which is displayed as thetitleattribute of the icon. You can set the color of the icon or overlay it on your own.It is possible to enter a business card in the tag. The content of a business card consists of a header, body and footer.PanoramaIf theStylplugin with themapycz-panoramaclass is inserted into the page, thePanoramalink is displayed in the footer of the business card. Clicking on it will display a panorama of that point in theStyleplugin (if available in the map).Plugin "Connect address with the map"TheConnect address with the mapplugin can be used for two purposes.The first purpose is a whisperer. In theAddressfield, enter the name of the text field for which the whisperer will display a list of known addresses. As the user starts typing an address, a list of addresses matching the one typed will be displayed. Clicking into the list causes the address to be inserted into the address field.The second purpose is to connect to the map. It is used to set the geographic coordinates of the selected address to be inserted into the appropriate fields of the form. It is also possible to define which fields of the form represent the content of the business card.Catuion! The plugin must be placed under theFormplugin. It uses text fields only of itssuperiorform.Command "Add Mark into Mapy.cz"With this connection to the map, saved user responses can then be inserted into the map as markers. The web editor selects user responses in theForm submissionslist and sets theAdd Mark into Mapy.czaction in the action list. Clicking theGobutton will create markers on the map from the user submissions.Funkction form_submission_fieldTheform_submission_fieldfunction allows the list of submitted forms to display links to pages where the Marker specified in the submission data appears in the map.InstallationSee more inINSTALL.md.ExampleHow to run the example. For more seeexample/HOWTO.md.AuthorZdeněk Böhmzdenek.bohm@nic.czCZ.NIC, z. s. p. o.LicenseGPLv3+
Package: djangocms-masonry
djangocms-masonryis a reuseable plugin fordjango-cmsthat
implements the JavaScript Masonry library.DependenciesDjangocms>=3.0Django>=1.6InstallationInstall djangocms-masonry from Pypi.pipinstalldjangocms-masonryAdd Djangocms_masonry to INSTALLED_APPSINSTALLED_APPS=(...'djangocms_masonry',...)Django 1.6 and/or South users will need to add the following to ensure
migration compatibility.SOUTH_MIGRATION_MODULES={...'djangocms_masonry':'djangocms_masonry.south_migrations',...}ConfigurationCSS classes can be added to the plugin via a select box by using theDJANGOCMS_MASONRY_STYLESsettings tuple.DJANGOCMS_MASONRY_STYLES=(('style1','Style 1'),('style2','Style 2'),)djangocms_masonry/default.html is rendered by default. The user can select
custom templates if the following tuple is set as the example below
demonstrates.DJANGOCMS_MASONRY_TEMPLATES=(('template1','Template 1'),('template2','Template 2'),)Restrict the plugins available to Masonry CarouselDJANGOCMS_MASONRY_CHILD_CLASSES=('PicturePlugin',)Include or exclude static filesDJANGOCMS_MASONRY_INCLUDE_JS_MASONRY=TrueTemplatesbase.html includes all the JavaScript and CSS needed to run the masonry plugin, but it does not render the HTML.
Custom templates can extend base.html as long as they define a plugin block containing the html and plugin render code as show in the below example.{% extends 'djangocms_masonry/base.html' %}
{% load cms_tags %}

{% block plugin %}<divclass="masonry-plugin plugin{% if style %} {{ style }}{% endif %}"id="plugin-{{ instance.pk }}"><divclass="row"><divclass="small-12 columns"><divclass="masonry-grid"><divclass="grid-sizer"></div><divclass="gutter-sizer"></div>{% for plugin in instance.child_plugin_instances %}<divclass="grid-item">{% render_plugin plugin %}</div>{% endfor %}</div></div></div></div>{% endblock plugin %}ContributionsLee SolwayHistory0.1.0(2015-07-24)First release on PyPI
Package: djangocms-mdeditor
djangocms-mdeditordjangocms-mdeditor is a ready-for-use addon for django CMS text editor usingMartoras markdown-enabled text editor.
The addon provides simple text editing using markdown, or the WYSIWYG-style setup provided by Martor (supports Bootstrap and Semantic-UI).Requirementsdjangocms-mdeditoris only tested with the following requirements.Django>=3.2Martor>=1.6.4django-cms>=3.9Installationdjangocms-mdeditoris available directly fromPyPi.Install the package into your project via e.g.pip install djangocms-mdeditor.Adddjangocms-mdeditorand its requirementmartorto yourINSTALLED_APPS, similar to:# settings.pyINSTALLED_APPS=[...'djangocms-mdeditor','martor',]To be able to use the editors preview-function and more, you need to add the following to yoururls.py.Be sure to place itbeforethecms.urls-include:urlpatterns=[...re_path(r'martor/',include('martor.urls')),re_path(r'^',include('cms.urls')),]Perform a database migration withpython manage.py migrate djangocms-mdeditor.If you don't have automatic static-collection configured for deployments, then remember to perform apython manage.py collectstatic.Usage / SettingsFor extra settings regarding the editor - please see theMartorproject.ChangelogThe release history / changelog is listed in theCHANGES.md-file.CHANGESContributingThis is an open-source project. We'll be delighted to receive your feedback in the form of bug reports, bug fixes and new features in the form of issues and pull requests. These can be contributed on the projectsGitHub-page.Fork therepositoryon GitHub.Make a new branch from themain-branch (git checkout -b feature/fooBar).And commit your changes to it (git commit -am 'Add some fooBar').WIP (install dev-requirements with pipenv and run tests)Create a Pull Request with your contribution.WIP - contribution guidelines / code-of-conduct?ContributorsThe djangocms-mdeditor project was started and developed byDanni Randerisin 2021.Distributed under the MIT license. SeeLICENSEfor more information.
Package: djangocms-mediaplayer
Media Player Plugin (DjangoCMS)A simple but effective and highly customizable media player for DjangoCMSCustomize your HTML media player easily through overriding the css styles or create custom Templates for your Player.Dependenciesdjangodjango-cmsdjango-sekizaidjango-filerDemoInstallationInstall from PyPI (or youmanually download from PyPI):pipinstalldjangocms-mediaplayerAddmediaplayerto you INSTALLED_APPS in django'ssettings.pyINSTALLED_APPS=(# other apps"mediaplayer",)Runmigratepythonmanage.pymigrateLicenseMIT
Package: djangocms-modules
django CMS Modulesadds copy/paste capabilities to groups of plugins.NoteThis project is endorsed by thedjango CMS Association.
That means that it is officially accepted by the dCA as being in line with our roadmap vision and development/plugin policy.
Join us onSlack.Contribute to this project and win rewardsBecause this is a an open-source project, we welcome everyone toget involved in the projectandreceive a rewardfor their contribution.
Become part of a fantastic community and help us make django CMS the best CMS in the world.We’ll be delighted to receive your
feedback in the form of issues and pull requests. Before submitting your
pull request, please review ourcontribution guidelines.We’re grateful to all contributors who have helped create and maintain this package.
Contributors are listed at thecontributorssection.InstallationFor a manual install:runpip installdjangocms-modulesadddjangocms_modulesto yourINSTALLED_APPSbeforecmsrunpython manage.py migrate djangocms_modulesIn addition, djangocms-modules requires your base template to render theModulessection. By default we assume it isbase.html. If you use
a different template structure please adaptdjangocms_modules/base.htmlaccordingly.Running TestsYou can run tests by executing:virtualenv env
source env/bin/activate
pip install -r tests/requirements.txt
python setup.py test
Package: djangocms-multisite
django-multisitesupport for DjangoCMSSupportSupportedDjangoversions:Django 3.0Django 2.2Supported django CMS versions:django CMS 3.7AssumptionsA virtualenv up and runningDjangoCMS workingInstallationpip installdjangocms-multisiteUsageOpen yoursettings.pyfileWe need to add the configurations fordjango-multisite:Replace SITE_ID value with the SiteID function:from multisite import SiteID
SITE_ID = SiteID(default=1)Addmultisite,djangocms_multisitetoINSTALLED_APPS:INSTALLED_APPS=[
    ...
    'multisite',
    'djangocms_multisite',
    ...
]Add those loders in the TEMPLATES setting:TEMPLATES = [
    ...
    {
        ...
        'DIRS': {...}
        'OPTIONS': {
            'loaders': (
                'multisite.template.loaders.filesystem.Loader',
                'django.template.loaders.app_directories.Loader',
            )
        }
        ...
    }
    ...
]For other settings (cache, etc.) check thedjango-multisitepageAddmultisite.middleware.DynamicSiteMiddlewareanddjangocms_multisite.middleware.CMSMultiSiteMiddlewaretoMIDDLEWARE_CLASSES. The order is important:multisite.middleware.DynamicSiteMiddlewaremust be applied beforecms.middleware.utils.ApphookReloadMiddleware, whiledjangocms_multisite.middleware.CMSMultiSiteMiddlewaremust be right after:MIDDLEWARE_CLASSES = [
    ...
    'multisite.middleware.DynamicSiteMiddleware',
    'cms.middleware.utils.ApphookReloadMiddleware',
    'djangocms_multisite.middleware.CMSMultiSiteMiddleware',
    ...
]Configure the URL mapping as follows. Thetests.test_utils.urls1path can be the main urlconf file that you already have in your project. And it can be the same for all the domains if you need the same structure.:MULTISITE_CMS_URLS={
    'www.example.com': 'tests.test_utils.urls1',
    'www.example2.com': 'tests.test_utils.urls2',
}
MULTISITE_CMS_ALIASES={
    'www.example.com': ('alias1.example.com', 'alias2.example.com',),
    'www.example2.com': ('alias1.example2.com', 'alias2.example2.com',),
}
MULTISITE_CMS_FALLBACK='www.example.com'Runpython manage.py makemigrationsRunpython manage.py migrateto apply thedjango-multisitemigrationsSettings explanationMULTISITE_CMS_URLSDictionary (or OrderedDict) containing the mapping between the domain (as configured in djangosites) and the corresponding urlconf.MULTISITE_CMS_FALLBACKThe default domain to load if any of the above does not match.MULTISITE_CMS_ALIASESDictionary (or OrderedDict) containing the mapping between the domain (as configured in djangosites) and a list of aliases. This is optional if all the aliases are configured asdjango-multisitealiasesTroubleshootingDomains inMULTISITE_CMS_URLSmust be the same created in your database (via the interface inHome › Sites › Sites).History0.3.1 (unreleased)Fix history formatting preventing proper pypi release0.3.0 (2020-07-05)Add Django 2.2 / django CMS 3.7+ supportDrop older Django / django CMS versions0.2.0 (2018-09-25)Add Django 1.11 / django CMS 3.4+ supportDrop older Django / django CMS versionsImprove documentation0.1.0 (unreleased)First experimental release
Package: django-cms-named-menus
Django CMS Named Menus=====================An extension for Django CMS that allows you to create multiple menus like WordpressInstallation------------1. Install with pip ``pip install django-cms-named-menus``2. Add ``cms_named_menus`` to INSTALLED_APPSUsage-----After installation, place the ``{% show_named_menu 'MenuName' %}`` template tag where you want your menu to appear... code::{% load named_cms_menu_tags %}<ul>{% show_named_menu "Main Menu" %}</ul>Next, create your menu in the admin area using the drag and drop interface... image:: ui.png
Package: djangocms-named-menus
Django CMS Named MenusAn extension for Django CMS that allows you to create multiple menus like WordpressReplaces Previous VersionsThis replaces the previous versions by Ryan Bagwell and Rogerio Carrasqueira which are no longer actively updatedOriginally forked from:https://github.com/rgcarrasqueira/django-cms-named-menushttps://github.com/ryanbagwell/django-cms-named-menusInstallationInstall with pippip install djangocms-named-menusAddcms_named_menusto INSTALLED_APPSRun migrationspython manage.py migrateUpgrading from Previous VersionUninstall previous version with pippip uninstall -y django-cms-named-menusThe migrations and code will pick up previous versions correctly.UsageAfter installation, place the{% show_named_menu 'MenuName' %}template tag where you want your menu to appear.{%loadnamed_cms_menu_tags%}<ul>{%show_named_menu"Main Menu"%}</ul>Next, create your menu in the admin area using the drag and drop interface.
Drag items with child menu items:Drag items without child menu items:SettingsThe following settings can be changed by adding to your project's settings.py file:Override the default cache duration for Named Menus, default = 3600 secondsCMS_NAMED_MENUS_CACHE_DURATION=3600Set the application namespaces that can be used with Named Menus as a list, default is CMS pages only - as the page id will not be unique for other applications e.g. Aldryn NewsBlog etc. (default = ['CMSMenu',])CMS_NAMED_MENUS_NAMESPACES=['CMSMenu',]or to allow ALL namespaces:CMS_NAMED_MENUS_NAMESPACES=NoneAutomatically remove pages that have been unpublished, deleted, or removed from Navigation (default = True)CMS_NAMED_MENUS_REMOVE_UNAVAILABLE_PAGES=True
Package: djangocms-oembed
A simple oembed plugin.
Currently only video oembeds are implemented. More content types will follow.Sadly most advanced embedding options (e.g looping) are not supported by most oembed providers.
So there is some special handling for YouTube and Vimeo embeds:looping for Vimeono related videos at the end for YouTubeFor responsive sites, it is recommended to use something likehttp://fitvidsjs.com/
Package: djangocms-oidc-form-fields
DjangoCMS OIDC (OpenID Connect) plugins for Aldryn form fieldsPlugins for post a data hangovered from OpenID provider, based on pluginsDjangoCMS OIDCandAldryn Forms.Installation$pipinstalldjangocms-oidc-form-fieldsAdd settings to settings.pyStart by making the following changes to yoursettings.pyfile.# Add 'aldryn_forms' and 'djangocms_oidc_form_fields' to INSTALLED_APPSINSTALLED_APPS=[# ...'multiselectfield','django_countries','mozilla_django_oidc',# place after auth (django.contrib.auth)'djangocms_oidc','aldryn_forms','djangocms_oidc_form_fields',]AUTHENTICATION_BACKENDS=[# ...'djangocms_oidc.auth.DjangocmsOIDCAuthenticationBackend',]MIDDLEWARE=[# ...'djangocms_oidc.middleware.OIDCSessionRefresh',]# Define OIDC classesOIDC_AUTHENTICATE_CLASS="djangocms_oidc.views.DjangocmsOIDCAuthenticationRequestView"OIDC_CALLBACK_CLASS="djangocms_oidc.views.DjangocmsOIDCAuthenticationCallbackView"OIDC_OP_AUTHORIZATION_ENDPOINT="https://example.com/authorization-endpoint"OIDC_RP_CLIENT_ID="myClientId"Add OIDC urls to urls.pyModify your projecturls.pyfile.urlpatterns=[# ....path('oidc/',include('mozilla_django_oidc.urls')),path('djangocms-oidc/',include('djangocms_oidc.urls')),]Usage in administrationThese plugins are available to the editor in the administration:OIDC FieldsOIDC TextOIDC TextareaOIDC HiddenOIDC EmailOIDC EmailIntoFromFieldOIDC PhoneOIDC NumberOIDC BooleanHow to use provider MojeIDHome › Djangocms_Oidc › Oidc register consumers › oidc register consumer: AddName: MojeID TestRegister consumer:https://mojeid.regtest.nic.cz/oidc/registration/Home › Djangocms_Oidc › Oidc providers › oidc provider: addName: MojeID TestCode: mojeidRegister consumer: MojeID TestAuthorization endpoint:https://mojeid.regtest.nic.cz/oidc/authorization/Token endpoint:https://mojeid.regtest.nic.cz/oidc/token/User endpoint:https://mojeid.regtest.nic.cz/oidc/userinfo/Account URL:https://mojeid.regtest.nic.cz/editor/Logout URL:https://mojeid.regtest.nic.cz/logout/Page structure: AddOpenID Connect: OIDC Handover dataProvider: MojeID TestClaims: {…} (copy from the example below) For mojeid see list “claims_supported” in .well-knownopenid-configuration.Verified by names: … (copy from the example below)How to run an exampleRun the example in Docker. Install as follows:$gitclonehttps://github.com/CZ-NIC/djangocms-oidc-form-fields.git$cddjangocms-oidc-form-fields/example$docker-composebuildweb$docker-composerun--user$(id-u):$(id-g)webpythonmanage.pymigrate$docker-composerun--user$(id-u):$(id-g)webpythonmanage.pyloaddatasite.jsonYou start the webserver:$docker-composeup-dOpen in your browser:https://localhost:8000/. To log in to the administrations useadmin:passwordathttp://localhost:8000/admin.You sto Webserver:$docker-composedownLicenseThis software is licensed under the GNU GPL license. For more info check the LICENSE file.
Package: django-cms-opencomparison
SetupAdd urls to url.py on Django project:url(r’^api/v1/’, include(‘cms_opencomparison.urls’)),You can modify CSS style overwritting/static/cms_opencomparison/css/style.cssURL.RepositoryURL:https://github.com/psaavedra/django-cms-opencomparisonReferencesHighly based on Django-Shop ecpsystem page:https://www.django-shop.org/en/ecosystem/
Package: djangocms-opensystem
djangocms-opensystemA plugin for Django CMS that displays OpenSystem widgets.InstallationInstall module using pipenv:pipenv install djangocms-opensystemOr pip:pip install djangocms-opensystemAdd it to your installed apps:"djangocms_opensystem",Apply migrationspython manage.py migrate djangocms_opensystemInclude your BASKET_ID and INTEGRATION_ID in your settingsDJANGOCMS_OPENSYSTEM_BASKET_ID="<your basket ID>"DJANGOCMS_OPENSYSTEM_INTEGRATION_ID=<yourintegrationID>Make sure to have a sekizai’s{% render_block "bottom_js" %}in your base template
Package: djangocms-oscar
djangocms-oscareases integration between the content management system
django CMS and the e-commerce framework Oscar.It is in an early stage, so use at your own risk.Featuresbase.htmltemplate which means that the django CMS toolbar works both on
CMS pages and Oscar viewsShips with default CMS templates that share the look with Oscar’s sandbox
pagesOscar’s “Browse store” dropdown includes CMS pagesA “Featured product” CMS plugin to be able to add individual products on
CMS pagesTested withdjango-cms 3.0.2django-oscar >=0.7.1, <0.8Django 1.5.8Python 2.7NOTE: Currently, django CMS does not play well with the new @atomic decorator
introduced in Django 1.6. Use django CMS from the master branch, or wait for
the next release.InstallationGrabbing the integrationThe latest release will be on PyPi, so you can justpip installdjangocms-oscar. Or grab it from themasterbranch if you
prefer the bleeding edge.Adding django CMS to an Oscar projectIf you have a working Oscar project and want to add django CMS, follow the
instructions onintegrating django CMS.You should also add at least one plugin to be able to set content. This
probably want to adddjangocms-text-ckeditorto be able to include text.Adding Oscar to a django CMS projectIf you have a working django CMS project and want to integrate Oscar, follow
the instructions ongetting started with Oscar.URLsThere’s two options to include Oscar’s URLs.This integration comes with an app hook for django CMS. So you can just let
django CMS take care of URL handling by adding Oscar to a CMS page.If you prefer to hard-wire Oscar’s URLs into your project’surls.py,
make sure that django CMS’s URLs come after Oscar’s.urls:urlplatterns = [
   ...
   (r'^shop/', include(shop.urls)),
   (r'^', include('cms.urls')),
   ...
]Setting up the integrationTo get started usingdjangocms-oscar:install it withpip:$ pip install djangocms-oscaradd the plugins toINSTALLED_APPS:INSTALLED_APPS = (
    ...
    'djangocms_oscar',
    ...
)To use the supplied templates, they need to be loaded before Oscar’s:from oscar import OSCAR_MAIN_TEMPLATE_DIR
from djangocms_oscar import OSCAR_CMS_TEMPLATE_DIR

TEMPLATE_DIRS = (
    location('templates'),
    OSCAR_CMS_TEMPLATE_DIR,
    OSCAR_MAIN_TEMPLATE_DIR,
)Runsyncdbormigrateif you’re using South.Optional settingsBesides customised Oscar templates,djangocms-oscarcomes with a set of
CMS templates that are based on Oscar’s default templates.
They’re a good starting point and can be used like this:# settings.py

CMS_TEMPLATES = (
    ('djangocms_oscar/full_width.html', 'Full width (no sidebars)'),
    ('djangocms_oscar/with_sidebar.html', 'Two column (left-hand sidebar)'),
)If you want Oscar’s homepage to be controlled by django CMS, set it like this:# settings.py

from django.core.urlresolvers import reverse_lazy
OSCAR_HOMEPAGE = reverse_lazy('pages-root')
Package: djangocms-page-image
This package provides two DjangoCMS extensions:“Page Image” is a page extension that allows you to add an image to a DjangoCMS page.“Teaser” is a title extension that allows you to add an image and a teaser text to each localization of a DjangoCMS page.Dependenciesdjango-filer >= 1.2Django >= 1.11django-cms >= 3.5Changelog0.7.2Added copy_relations method.0.7.1Fixed a data migration issue.0.7.0Version 0.7.0 introduces a new title extension, called Teaser, and a migration which creates a
teaser for every existing page image extension in the site’s first language (we assume that the
first language was used for previously created extensions). This allows for localized teaser texts
and also images (which might contain text).The former “Page Image and Teaser” page extension is still available, but loses its “teaser” field
(which doesn’t make too much sense in a non-localized extension anyway).