Skip to content

Commit 0cd3909

Browse files
authored
Merge pull request #44 from ambitioninc/develop
0.3.1 merge
2 parents c24e363 + bec237c commit 0cd3909

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

db_mutex/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.3.0'
1+
__version__ = '0.3.1'

docs/examples.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ following way:
99

1010
.. code-block:: python
1111
12-
from db_mutex import db_mutex, DBMutexError, DBMutexTimeoutError
12+
from db_mutex import DBMutexError, DBMutexTimeoutError
13+
from db_mutex.db_mutex import db_mutex
1314
1415
# Lock a critical section of code
1516
try:
@@ -30,7 +31,8 @@ The db_mutex decorator can also be used in a similar manner for locking a functi
3031

3132
.. code-block:: python
3233
33-
from db_mutex import db_mutex, DBMutexError, DBMutexTimeoutError
34+
from db_mutex import DBMutexError, DBMutexTimeoutError
35+
from db_mutex.db_mutex import db_mutex
3436
3537
@db_mutex('lock_id')
3638
def critical_function():

docs/release_notes.rst

+8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Release Notes
22
=============
33

4+
v0.3.1
5+
------
6+
* Fixed docs
7+
8+
v0.3.0
9+
------
10+
* Added django 1.9 support
11+
412
v0.2.0
513
------
614
* Dropped Django 1.6, added 1.8 support

0 commit comments

Comments
 (0)