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.

Source Distribution

django-shift-work-0.1.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

django_shift_work-0.1.1-py2.py3-none-any.whl (6.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-shift-work-0.1.1.tar.gz.

File metadata

  • Download URL: django-shift-work-0.1.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for django-shift-work-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fcd8ca388ba64bc3c8eae7d2b250dd7d5661bf45f0f1b74aad878c49ae538ee4
MD5 7535613ab50e62f43012fa41f233e348
BLAKE2b-256 261eb248594de972d7e2eae0f24eaff79ccdcba45e4f8a4478afa446a1ea2acf

See more details on using hashes here.

File details

Details for the file django_shift_work-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: django_shift_work-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for django_shift_work-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9914e19f4bcf79ded37a71c69b18888e7ecfc829de838fe5e1e41d699aeb8bff
MD5 969ba8ad68b2530cfbd5b4b9acaa0e05
BLAKE2b-256 250cad52469211a25d4d04dafff46cc3d30c2e60c1c02cf597ed1e965dd55f9a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page