django-shift-work

Middleware to check what shift is currently active


Keywords
django-shift-work
License
MIT
Install
pip install django-shift-work==0.1.1

Documentation

Django Shift Work

https://travis-ci.org/reyvel/django-shift-work.svg?branch=master

Middleware to check what shift is currently active

Documentation

The full documentation is at https://django-shift-work.readthedocs.io.

Quickstart

Install Django Shift Work:

pip install django-shift-work

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'django_shift_work.apps.DjangoShiftWorkConfig',
    ...
)

Add Django Shift Work's URL patterns:

from django_shift_work import urls as django_shift_work_urls


urlpatterns = [
    ...
    url(r'^', include(django_shift_work_urls)),
    ...
]

Features

  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Credits

Tools used in rendering this package: