Simple plugin with django-time-wizard relation
Project description
Simple plugins with django-time-wizard integration.
Quick start
Install using pip:
pip install djangocms-time-wizard
Add to your INSTALLED_APPS:
'time_wizard', 'djangocms_time_wizard',
Include the time_wizard admin URLs in your project urls.py:
path('admin/', include('time_wizard.urls')),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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
deb15d9ac8ab85c556bd498f9058e13d985b5e659fe1fe03d68b1ba91768263d
|
|
| MD5 |
7ecb1fa5fc10f791d3b5f69ffb4e603b
|
|
| BLAKE2b-256 |
5fc7a527a44e67e73e255b1648b62d6e2abb88f99be2ed171cd18bd048cebd23
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
djangocms_time_wizard-2.5.1.tar.gz -
Subject digest:
deb15d9ac8ab85c556bd498f9058e13d985b5e659fe1fe03d68b1ba91768263d - Sigstore transparency entry: 756712910
- Sigstore integration time:
-
Permalink:
puzzleYOU/djangocms-time-wizard@6dffb23622a6db8e68313fa0ab2257fedb7ac8f4 -
Branch / Tag:
refs/tags/v2.5.1 - Owner: https://github.com/puzzleYOU
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@6dffb23622a6db8e68313fa0ab2257fedb7ac8f4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file djangocms_time_wizard-2.5.1-py3-none-any.whl.
File metadata
- Download URL: djangocms_time_wizard-2.5.1-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7d31882b24e0a489b5a1af6cd6d7f69b6eb09b074a356acb7fdf71b74905b7c
|
|
| MD5 |
d895340b5ed1babd7c76609441873e66
|
|
| BLAKE2b-256 |
5d54dbfddae315973cdfc7d5d24f554283a2ec6bed4100108c077664cff4f0fe
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
djangocms_time_wizard-2.5.1-py3-none-any.whl -
Subject digest:
b7d31882b24e0a489b5a1af6cd6d7f69b6eb09b074a356acb7fdf71b74905b7c - Sigstore transparency entry: 756712912
- Sigstore integration time:
-
Permalink:
puzzleYOU/djangocms-time-wizard@6dffb23622a6db8e68313fa0ab2257fedb7ac8f4 -
Branch / Tag:
refs/tags/v2.5.1 - Owner: https://github.com/puzzleYOU
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@6dffb23622a6db8e68313fa0ab2257fedb7ac8f4 -
Trigger Event:
release
-
Statement type: