Skip to main content

djangocms-conditional

Latest Travis CI build status Test coverage

Django CMS plugin that shows content if a user is logged in and a member of a specific Django group.

Documentation

The full documentation is at https://djangocms-conditional.readthedocs.org

Quickstart

  1. Install djangocms-conditional:: pip install djangocms-conditional

  2. Add “djangocms_conditional” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'djangocms_conditional',
    ]
  3. Run python manage.py migrate to create the djangocms_conditional models.

Features

Shows and hides child plugins according to group membership, as configured in the plugin instance.

Caveats

This plugin only prevents rendering of plugins, just like djangocms-timer, and is subject to the same limitations:

In its current form, plugin won’t save you from the queries to retrieve child plugins due to the way plugin rendering works in django CMS. Still, the render method of child plugins is not executed (and grandchildren plugins are not retrieved) with mitigating effect on performance hit.

History

0.1.2 (2018-01-01)

  • First release on PyPi.

Metadata

Release files for djangocms-conditional 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for djangocms-conditional 0.2.1
File Size Uploaded Provenance Actions
djangocms-conditional-0.2.1.tar.gz 13.3 kB Without provenance Details for djangocms-conditional-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for djangocms-conditional 0.2.1
File Interpreter ABI Platform Actions
djangocms_conditional-0.2.1-py2.py3-none-any.whl Python 3, Python 2 none any Details for djangocms_conditional-0.2.1-py2.py3-none-any.whl

Total release size: 20.7 kB

Release files / djangocms-conditional-0.2.1.tar.gz

Download URL djangocms-conditional-0.2.1.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bc5de48dd11176541fb3a914c4d4b3475cdbd55a2c994d62ebefdf4595118584
BLAKE2b-256 checksum
How to use checksums
2025633c0acb7fd5d9595720e0ad6bcea43d07aabb6d9c122ba5e91e795b1ab4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / djangocms_conditional-0.2.1-py2.py3-none-any.whl

Download URL djangocms_conditional-0.2.1-py2.py3-none-any.whl
Size 7.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
38c5ca76438ff9c6d884169573467ec4c062d42c5f94d8d3e9805a87a77f62ab
BLAKE2b-256 checksum
How to use checksums
0ad257ee354b84fd0b97df03db8314c06d1406ccd665574e6369362d236f8f38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for djangocms-conditional 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page