Skip to content
This repository was archived by the owner on Nov 12, 2026. It is now read-only.
jjanssenPublic archive

About

Adds timetravelling functionality to Django CMS

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

34 Commits

Folders and files

Repository files navigation

build-status

django-cms-timetravel

About django-cms-timetravel

Django CMS provides previewing of non-published pages. With preview an user can check a page before it goes online. When configuring Homepage A with an expire date (for eg: 2013-03-04 00:00) and configuring Homepage B with a publish data (for eg: 2013-03-04 00:00) preview doesn't make the user feel safe about the homepage switch.

So how can a user check whether the new homepage switch will be picked up correctly? That's where Django CMS Timetravel arrives at the scene!

Screenshot

https://github.com/jjanssen/django-cms-timetravel/raw/master/docs/images/timetravel.png

Installation

Install django-cms-timetravel with pip:

$ pip install -e http://github.com/jjanssen/django-cms-timetravel#egg=django-cms-timetravel
.. or::

Configuration

Add the following to your settings file:

  • Add cms_timetravel to INSTALLED_APPS

  • Add cms_timetravel.middleware.TimetravelMiddleware to MIDDLEWARE_CLASSES:

    'cms.middleware.user.CurrentUserMiddleware',
    'cms.middleware.page.CurrentPageMiddleware',
    'cms_timetravel.middleware.TimetravelMiddleware',
    

URL Configuration

You need to include the cms_timetravel.urls urlpatterns in your root url configuration, for e.g.:

url(r'^admin/timetravel/$', include('cms_timetravel.urls', namespace='cms_timetravel')),
...
(r'^admin/', include(admin.site.urls)),

About

Adds timetravelling functionality to Django CMS

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages