diff --git a/README.rst b/README.rst index edd56d0..18f12b4 100644 --- a/README.rst +++ b/README.rst @@ -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 diff --git a/cachalot/__init__.py b/cachalot/__init__.py index ab59b75..3216f60 100644 --- a/cachalot/__init__.py +++ b/cachalot/__init__.py @@ -1,2 +1,4 @@ +from .settings import cachalot_settings + __version__ = (0, 5, 0, 'post') version_string = '.'.join(str(n) for n in __version__)