diff --git a/README.rst b/README.rst index 99ba27f..3714ac3 100644 --- a/README.rst +++ b/README.rst @@ -68,7 +68,7 @@ or simply by changing its attributes: .. code:: python - from cachalot import cachalot_settings + from cachalot.settings 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 1ba593c..856964c 100644 --- a/cachalot/__init__.py +++ b/cachalot/__init__.py @@ -1,4 +1,2 @@ -from .settings import cachalot_settings - __version__ = (0, 8, 0, 'post') version_string = '.'.join(str(n) for n in __version__)