Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_shift_work-0.1.1-py2.py3-none-any.whl (6.3 kB) Copy SHA256 hash SHA256 Wheel py2.py3
django-shift-work-0.1.1.tar.gz (6.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page