Skip to main content

Mezzanine BS Banners

Making it easier to manage attention grabbing Bootstrap Carousels and compelling Bootstrap Jumbotrons as banners on home pages

Designed to quickly and easily manange attention grabbing Bootstrap carousels and compelling Bootstrap Jumbotrons as banners with the same ease as ordinary Mezzanine pages without editing templates.

The following Bootstrap layouts are supported:

  • Carousel

  • Jumbotron

  • Image (using card)

Quick start

  1. Install the app

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

    INSTALLED_APPS = (
        ...
        'mezzanine_bsbanners',
    )
  3. Add blocks menu item to admin menu (Optional):

    ADMIN_MENU_ORDER = (
        ("Content", (
                "mezzanine_bsbanners.*",
            )
        ),
    )
  4. Run ‘python manage.py migrate’ to create the database models.

Usage

mezzanine-bsbanners are similar to django-flatblocks.

  1. Include bsbanners_tags in the template:

    {% load ... bsbanners_tags %}
  2. Insert block anywhere in the template:

    {% bsbanner "My Banner" %}
    {% bsbanner {block} %}
    {% bsbanner {block} "my_template.html" %}
    {% bsbanner {block} {template_name} %}

Dependencies

Support

To report a security issue, please send an email privately to ahicks@p-o.co.uk. This gives us a chance to fix the issue and create an official release prior to the issue being made public.

For general questions or comments, please contact ahicks@p-o.co.uk.

Project website

Communications are expected to conform to the Django Code of Conduct.

Metadata

Release files for mezzanine-bsbanners 0.2.0

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

Source distribution (sdist)

Source distribution for mezzanine-bsbanners 0.2.0
File Size Uploaded Provenance
mezzanine-bsbanners-0.2.0.tar.gz 304.8 kB Without provenance Details

Release files / mezzanine-bsbanners-0.2.0.tar.gz

Download URL mezzanine-bsbanners-0.2.0.tar.gz
Size 304.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7ec6ad5e5552a5f2e704e408d18e8b3a441feb458b1fe3b71e3a986f2ba86850
BLAKE2b-256 checksum
How to use checksums
c296d5fde8927ca6f2ee8226aa25a286e61973feb86107c4bf324de176bede24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Security for mezzanine-bsbanners 0.2.0

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.

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