Skip to content
Browse files

fixed import problem while installing with buildout or in an environm…

…ent where django is not installed yet
  • Loading branch information...
1 parent e26375e commit d3b98164e83c1d28a1514cc7f716f4ca51178903 @stefanfoulis stefanfoulis committed Nov 11, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cms/__init__.py
View
2 cms/__init__.py
@@ -2,8 +2,8 @@
__version__ = '.'.join(map(str, VERSION))
# patch settings
-from conf import patch_settings
try:
+ from conf import patch_settings
from django.conf import settings
patch_settings()
except ImportError:

0 comments on commit d3b9816

Please sign in to comment.
Something went wrong with that request. Please try again.