Skip to main content
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.

Metadata

Release files for django-shift-work 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-shift-work 0.1.1
File Size Uploaded
django-shift-work-0.1.1.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-shift-work 0.1.1
File Interpreter ABI Platform
django_shift_work-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 12.4 kB

Release files / django-shift-work-0.1.1.tar.gz

Download URL django-shift-work-0.1.1.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fcd8ca388ba64bc3c8eae7d2b250dd7d5661bf45f0f1b74aad878c49ae538ee4
BLAKE2b-256 checksum
How to use checksums
261eb248594de972d7e2eae0f24eaff79ccdcba45e4f8a4478afa446a1ea2acf
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / django_shift_work-0.1.1-py2.py3-none-any.whl

Download URL django_shift_work-0.1.1-py2.py3-none-any.whl
Size 6.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9914e19f4bcf79ded37a71c69b18888e7ecfc829de838fe5e1e41d699aeb8bff
BLAKE2b-256 checksum
How to use checksums
250cad52469211a25d4d04dafff46cc3d30c2e60c1c02cf597ed1e965dd55f9a
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page