Skip to main content

Simple plugin with django-time-wizard relation

Project description

Simple plugins with django-time-wizard integration.

Quick start

  1. Install using pip:

    pip install djangocms-time-wizard
  1. Add to your INSTALLED_APPS:

    'time_wizard',
    'djangocms_time_wizard',
  2. Include the time_wizard admin URLs in your project urls.py:

    path('admin/', include('time_wizard.urls')),
  3. Run python manage.py migrate to create the time_wizard and djangocms_time_wizard models.

Configuration

The TimeWizard(Inline)-Plugin has a wrapper for its child-plugins if they are not shown on published pages. You can also disable this in your settings.py:

DJANGOCMS_TIME_WIZARD_WRAPPER = False

The wrapper is a simple div with the class time-wizard and inline styling. You can customize its appearance to whatever you want. Note that child-plugins with inline styling may appear different because of the additional wrapper around.

Showing/Hiding content in editing mode

If you want content managers to be able to show/hide inactive time-wizard content, you can do this by adding the following:

path("admin/", include("djangocms_time_wizard.urls")),  # urls.py

Link to the settings view, for example in your toolbar:

self.my_menu.add_link_menu(
    "Time Wizard Admin Settings",
    url=reverse("djangocms-time-wizard-cookie-settings"),
)

Requirements

  • django-cms

  • django-time-wizard

Tests

Setup your test environment with virtualenv and install the requirements with pip install .. Also install tox via pip and simply run tox.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djangocms_time_wizard-2.5.1.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

djangocms_time_wizard-2.5.1-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file djangocms_time_wizard-2.5.1.tar.gz.

File metadata

  • Download URL: djangocms_time_wizard-2.5.1.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for djangocms_time_wizard-2.5.1.tar.gz
Algorithm Hash digest
SHA256 deb15d9ac8ab85c556bd498f9058e13d985b5e659fe1fe03d68b1ba91768263d
MD5 7ecb1fa5fc10f791d3b5f69ffb4e603b
BLAKE2b-256 5fc7a527a44e67e73e255b1648b62d6e2abb88f99be2ed171cd18bd048cebd23

See more details on using hashes here.

Provenance

The following attestation bundles were made for djangocms_time_wizard-2.5.1.tar.gz:

Publisher: python-publish.yml on puzzleYOU/djangocms-time-wizard

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file djangocms_time_wizard-2.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for djangocms_time_wizard-2.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b7d31882b24e0a489b5a1af6cd6d7f69b6eb09b074a356acb7fdf71b74905b7c
MD5 d895340b5ed1babd7c76609441873e66
BLAKE2b-256 5d54dbfddae315973cdfc7d5d24f554283a2ec6bed4100108c077664cff4f0fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for djangocms_time_wizard-2.5.1-py3-none-any.whl:

Publisher: python-publish.yml on puzzleYOU/djangocms-time-wizard

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page