Don’t import cachalot_settings in __init__ to avoid an issue with pip when Django isn’t yet installed.

This commit is contained in:
Bertrand Bordage 2014-10-28 19:00:24 +01:00
parent ea7b9f79cb
commit 65db345fbc
2 changed files with 1 additions and 3 deletions

View file

@ -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

View file

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