File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1- __version__ = '0.3.0 '
1+ __version__ = '0.3.1 '
Original file line number Diff line number Diff 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 ():
Original file line number Diff line number Diff line change 11Release Notes
22=============
33
4+ v0.3.1
5+ ------
6+ * Fixed docs
7+
8+ v0.3.0
9+ ------
10+ * Added django 1.9 support
11+
412v0.2.0
513------
614* Dropped Django 1.6, added 1.8 support
You can’t perform that action at this time.
0 commit comments