djangocms-timed-publishing


Namedjangocms-timed-publishing JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
Summarydjangocms-versioning extension to time your publications
upload_time2025-08-01 05:59:51
maintainerNone
docs_urlNone
authorfsbraun
requires_python>=3.9
licenseBSD 3-Clause License Copyright (c) 2025, Fabian Braun Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
keywords cms django djangocms publications timed versioning
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![PyPI version](https://badge.fury.io/py/djangocms-timed-publishing.svg)](http://badge.fury.io/py/djangocms-timed-publishing)
[![Coverage Status](https://codecov.io/gh/fsbraun/djangocms-timed-publishing/graph/badge.svg?token=EQeaSCSVkU)](https://codecov.io/gh/fsbraun/djangocms-timed-publishing)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/djangocms-timed-publishing)](https://pypi.org/project/djangocms-timed-publishing/)
[![PyPI - Django Versions](https://img.shields.io/pypi/frameworkversions/django/djangocms-timed-publishing)](https://www.djangoproject.com/)
[![PyPI - django CMS Versions](https://img.shields.io/pypi/frameworkversions/django-cms/djangocms-timed-publishing)](https://www.django-cms.org/)


# djangocms-timed-publishing
django CMS Timed Publishing extends django CMS Versioning to allow for planned or limited publication of content:

* New option to publish from the versioning menu (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:

  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.


![Timed Publishing](timed-publishing.jpg)

## Installation

1. Install the package using pip:

    ```bash
    pip install git+https://github.com/fsbraun/djangocms-timed-publishing
    ```

2. Add `"djangocms_timed_publishing"` after  `"djangocms_versioning"` to your `INSTALLED_APPS` in `settings.py`:

    ```python
    INSTALLED_APPS = [
         # ...
         "djangocms_versioning",
         "djangocms_timed_publishing",
         # ...
    ]
    ```

3. Run migrations:

    ```bash
    python manage.py migrate
    ```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "djangocms-timed-publishing",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "cms, django, djangocms, publications, timed, versioning",
    "author": "fsbraun",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/30/c1/117e1b466cc22af4ec9099c32be252bc1d90279717b06798eecf6a6626fb/djangocms_timed_publishing-0.1.0.tar.gz",
    "platform": null,
    "description": "[![PyPI version](https://badge.fury.io/py/djangocms-timed-publishing.svg)](http://badge.fury.io/py/djangocms-timed-publishing)\n[![Coverage Status](https://codecov.io/gh/fsbraun/djangocms-timed-publishing/graph/badge.svg?token=EQeaSCSVkU)](https://codecov.io/gh/fsbraun/djangocms-timed-publishing)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/djangocms-timed-publishing)](https://pypi.org/project/djangocms-timed-publishing/)\n[![PyPI - Django Versions](https://img.shields.io/pypi/frameworkversions/django/djangocms-timed-publishing)](https://www.djangoproject.com/)\n[![PyPI - django CMS Versions](https://img.shields.io/pypi/frameworkversions/django-cms/djangocms-timed-publishing)](https://www.django-cms.org/)\n\n\n# djangocms-timed-publishing\ndjango CMS Timed Publishing extends django CMS Versioning to allow for planned or limited publication of content:\n\n* New option to publish from the versioning menu (The \"Publish\" button does not change behavior.)\n\n* The menu brings up a modal allowing to select time limits for the visibility of the to-be-published version:\n\n  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.\n\n* Versioning menu shows pending or expired visibility dates. \"pending\" is a word for a published version that is\n  not yet visible. \"expired\" is a word for a published version not visible any more:\n\n* \"View published\" button for PageContents is only offered for pages which are currently visible\n  (since otherwise they'll show a 404)\n\n* Pending or expired aliases render empty.\n\n\n![Timed Publishing](timed-publishing.jpg)\n\n## Installation\n\n1. Install the package using pip:\n\n    ```bash\n    pip install git+https://github.com/fsbraun/djangocms-timed-publishing\n    ```\n\n2. Add `\"djangocms_timed_publishing\"` after  `\"djangocms_versioning\"` to your `INSTALLED_APPS` in `settings.py`:\n\n    ```python\n    INSTALLED_APPS = [\n         # ...\n         \"djangocms_versioning\",\n         \"djangocms_timed_publishing\",\n         # ...\n    ]\n    ```\n\n3. Run migrations:\n\n    ```bash\n    python manage.py migrate\n    ```\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License\n        \n        Copyright (c) 2025, Fabian Braun\n        \n        Redistribution and use in source and binary forms, with or without\n        modification, are permitted provided that the following conditions are met:\n        \n        1. Redistributions of source code must retain the above copyright notice, this\n           list of conditions and the following disclaimer.\n        \n        2. Redistributions in binary form must reproduce the above copyright notice,\n           this list of conditions and the following disclaimer in the documentation\n           and/or other materials provided with the distribution.\n        \n        3. Neither the name of the copyright holder nor the names of its\n           contributors may be used to endorse or promote products derived from\n           this software without specific prior written permission.\n        \n        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n        AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n        IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n        DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n        FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n        DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n        SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n        CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n        OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n        OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n        ",
    "summary": "djangocms-versioning extension to time your publications",
    "version": "0.1.0",
    "project_urls": {
        "Bug Reports": "https://github.com/fsbraun/djangocms-timed-publishing/issues",
        "Homepage": "https://github.com/fsbraun/djangocms-timed-publishing",
        "Source": "https://github.com/fsbraun/djangocms-timed-publishing"
    },
    "split_keywords": [
        "cms",
        " django",
        " djangocms",
        " publications",
        " timed",
        " versioning"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ab7ba57a8fd9e09be4aa8b26f469a85eb48de39cb1ab89c7e6e73b5f61a96055",
                "md5": "d85d04e16d0b79a3320083a240afed9b",
                "sha256": "0b07c53676c5b242e1771a8598ffbde0e541a05a13bbe21d0d4b7a866e29408b"
            },
            "downloads": -1,
            "filename": "djangocms_timed_publishing-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d85d04e16d0b79a3320083a240afed9b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 16600,
            "upload_time": "2025-08-01T05:59:50",
            "upload_time_iso_8601": "2025-08-01T05:59:50.316023Z",
            "url": "https://files.pythonhosted.org/packages/ab/7b/a57a8fd9e09be4aa8b26f469a85eb48de39cb1ab89c7e6e73b5f61a96055/djangocms_timed_publishing-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "30c1117e1b466cc22af4ec9099c32be252bc1d90279717b06798eecf6a6626fb",
                "md5": "7d3e1301c67db4cb69ae48d35afb5bd1",
                "sha256": "34dbfe0e7871ae42072dfbd72db7c1b5fc8e874f64a6904d1453e61fb365c57a"
            },
            "downloads": -1,
            "filename": "djangocms_timed_publishing-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "7d3e1301c67db4cb69ae48d35afb5bd1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 16604,
            "upload_time": "2025-08-01T05:59:51",
            "upload_time_iso_8601": "2025-08-01T05:59:51.665416Z",
            "url": "https://files.pythonhosted.org/packages/30/c1/117e1b466cc22af4ec9099c32be252bc1d90279717b06798eecf6a6626fb/djangocms_timed_publishing-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-01 05:59:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "fsbraun",
    "github_project": "djangocms-timed-publishing",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "djangocms-timed-publishing"
}
        
Elapsed time: 1.05237s