Skip to main content

Middleware to check what shift is currently active

Project description

https://badge.fury.io/py/django-shift-work.svg https://travis-ci.org/reyvel/django-shift-work.svg?branch=master https://codecov.io/gh/reyvel/django-shift-work/branch/master/graph/badge.svg

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:

History

0.1.0 (2019-03-17)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-shift-work, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size django_shift_work-0.1.1-py2.py3-none-any.whl (6.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-shift-work-0.1.1.tar.gz (6.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page