Privex Django Lock Manager (django-lockmgr) documentation

Privex Logo

Welcome to the documentation for Privex’s Django Lock Manager - a small, open source Python 3 package for Django, designed to provide simple, frustration free locks in your Django application, without requiring any additional services like Redis / Memcached.

This documentation is automatically kept up to date by ReadTheDocs, as it is automatically re-built each time a new commit is pushed to the Github Project

Quick install

Installing with Pipenv (recommended)

pipenv install django-lockmgr

Installing with standard pip3

pip3 install django-lockmgr

Add lockmgr to your INSTALLED_APPS

INSTALLED_APPS = [
    'django.contrib.admin.apps.SimpleAdminConfig',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    # ...
    'lockmgr'
]

Run the migrations

./manage.py migrate lockmgr