djangocms-versioning extension to time your publications
Project description
djangocms-timed-publishing
django CMS Timed Publishing extends django CMS Versioning to allow for planned or limited publication of content:
-
New option to publish with beginning and end dates. By default this is done from the versioning menu and the "Publish" button does not change behavior. The menu brings up a modal allowing to select time limits for the visibility of the to-be-published version:
Alternatively, with the setting
DJANGOCMS_TIMED_PUBLISHING_BUTTON = True, the "Publish" button changes behavior and always opens the modal to ask for beginning and end dates.Publishing from the admin - be it the page tree or the version manager - is not affected.
-
Technically, the time limits do not affect the published status but only the visibility. This means, dates on published versions cannot be changed any more. You need to create a new draft and publish that to make a change.
-
Versioning menu shows pending or expired visibility dates. "pending" is a word for a published version that is not yet visible. "expired" is a word for a published version not visible any more:
-
"View published" button for PageContents is only offered for pages which are currently visible (since otherwise they'll show a 404)
-
Pending or expired aliases render empty.
Installation
-
Install the package using pip:
pip install git+https://github.com/fsbraun/djangocms-timed-publishing
-
Add
"djangocms_timed_publishing"after"djangocms_versioning"to yourINSTALLED_APPSinsettings.py:INSTALLED_APPS = [ # ... "djangocms_versioning", "djangocms_timed_publishing", # ... ]
-
Run migrations:
python manage.py migrate
Project details
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_timed_publishing-1.0.0.tar.gz.
File metadata
- Download URL: djangocms_timed_publishing-1.0.0.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8c885ca37c905182f74b2121d41d0a38c31b80504bf20f9587df134c721eb67
|
|
| MD5 |
bce958d0f95916fb844c6835070be357
|
|
| BLAKE2b-256 |
186edc95d8a69ab04e39411a3e770f930fe7aabe42b6fd4f8e1b8e00bee83173
|
Provenance
The following attestation bundles were made for djangocms_timed_publishing-1.0.0.tar.gz:
Publisher:
publish-to-live-pypi.yml on fsbraun/djangocms-timed-publishing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
djangocms_timed_publishing-1.0.0.tar.gz -
Subject digest:
f8c885ca37c905182f74b2121d41d0a38c31b80504bf20f9587df134c721eb67 - Sigstore transparency entry: 936978913
- Sigstore integration time:
-
Permalink:
fsbraun/djangocms-timed-publishing@07d55489384021a139556b2ed8ead1b597c2aaf6 -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/fsbraun
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-live-pypi.yml@07d55489384021a139556b2ed8ead1b597c2aaf6 -
Trigger Event:
release
-
Statement type:
File details
Details for the file djangocms_timed_publishing-1.0.0-py3-none-any.whl.
File metadata
- Download URL: djangocms_timed_publishing-1.0.0-py3-none-any.whl
- Upload date:
- Size: 36.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 |
67e79fe777db0503b87b2bb62046012fa2347e998cfc08090146973d34e50cba
|
|
| MD5 |
1a17d4b5d90ea5eff61e11b3f5aa865f
|
|
| BLAKE2b-256 |
3e74eeded5d65c54063a858c1e3eb18f7bc7d5909c62a2c0b659f1249ef86c97
|
Provenance
The following attestation bundles were made for djangocms_timed_publishing-1.0.0-py3-none-any.whl:
Publisher:
publish-to-live-pypi.yml on fsbraun/djangocms-timed-publishing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
djangocms_timed_publishing-1.0.0-py3-none-any.whl -
Subject digest:
67e79fe777db0503b87b2bb62046012fa2347e998cfc08090146973d34e50cba - Sigstore transparency entry: 936978918
- Sigstore integration time:
-
Permalink:
fsbraun/djangocms-timed-publishing@07d55489384021a139556b2ed8ead1b597c2aaf6 -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/fsbraun
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-live-pypi.yml@07d55489384021a139556b2ed8ead1b597c2aaf6 -
Trigger Event:
release
-
Statement type: