Allows cachalot_settings to be imported directly from cachalot.

This commit is contained in:
Bertrand Bordage 2014-10-05 12:55:41 +02:00
parent 08db9e7ca3
commit 1d4caf4e24
2 changed files with 3 additions and 1 deletions

View file

@ -59,7 +59,7 @@ or simply by changing its attributes:
.. code:: python
from cachalot.settings import cachalot_settings
from cachalot import cachalot_settings
with cachalot_settings(CACHALOT_ENABLED=False):
# SQL queries are not cached in this block

View file

@ -1,2 +1,4 @@
from .settings import cachalot_settings
__version__ = (0, 5, 0, 'post')
version_string = '.'.join(str(n) for n in __version__)