From f01e59fa389fa4d236a85f934d0b1f9c7a544257 Mon Sep 17 00:00:00 2001 From: Justin Standring Date: Thu, 28 Jan 2016 13:22:26 +1300 Subject: [PATCH 1/2] Added INSTALLED_APPS note to installation docs --- docs/installation.rst | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 1e36039..37f2dfc 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -1,10 +1,17 @@ Installation ============ -To install the latest release, type:: - +* Install Django-db-mutex with your favorite Python package manager:: + + # Using pip pip install django-db-mutex + + # Or, using pip (from the latest source code) + pip install git+git://github.com/ambitioninc/django-db-mutex.git -To install the latest code directly from source, type:: +* Add ``'db_mutex'`` to your ``INSTALLED_APPS`` setting:: - pip install git+git://github.com/ambitioninc/django-db-mutex.git + INSTALLED_APPS = ( + # other apps + 'db_mutex', + ) From e86e0e6d597efb846737461c87d36017ccebd1db Mon Sep 17 00:00:00 2001 From: Justin Standring Date: Thu, 28 Jan 2016 16:44:19 +1300 Subject: [PATCH 2/2] Updated installation docs with correct pip install "from source" command --- docs/installation.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 37f2dfc..4a9be83 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -6,8 +6,8 @@ Installation # Using pip pip install django-db-mutex - # Or, using pip (from the latest source code) - pip install git+git://github.com/ambitioninc/django-db-mutex.git + # Or, using pip (from source, in editable form) + pip install -e git://github.com/ambitioninc/django-db-mutex.git#egg=django-db-mutex * Add ``'db_mutex'`` to your ``INSTALLED_APPS`` setting::