Metadata-Version: 2.4
Name: djangocms-time-wizard
Version: 2.5.1
Summary: Simple plugin with django-time-wizard relation
Home-page: https://github.com/puzzleYOU/djangocms-time-wizard
Download-URL: https://github.com/puzzleYOU/djangocms-time-wizard/tarball/master
Author: puzzleYOU GmbH
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 3.2
Classifier: Framework :: Django :: 4.0
Classifier: Framework :: Django :: 4.1
Classifier: Framework :: Django :: 4.2
Classifier: Framework :: Django :: 5.0
Classifier: Framework :: Django :: 5.1
Classifier: Framework :: Django :: 5.2
Classifier: Framework :: Django CMS
Classifier: Framework :: Django CMS :: 3.7
Classifier: Framework :: Django CMS :: 3.8
Classifier: Framework :: Django CMS :: 3.9
Classifier: Framework :: Django CMS :: 3.10
Classifier: Framework :: Django CMS :: 3.11
Classifier: Framework :: Django CMS :: 4.1
Classifier: Framework :: Django CMS :: 5.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
License-File: LICENSE
Requires-Dist: django-cms
Requires-Dist: django-time-wizard
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: download-url
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: summary

=====================
djangocms-time-wizard
=====================

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`.
