Skip to content

Commit

Permalink
Fixed issue #6, error on access to warnings.DepracationWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
Glenn Mohre committed Apr 29, 2014
1 parent dfd1f13 commit 10076cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudydict/django_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def __init__(self):
import warnings
warnings.warn('Use of the CLOUDY_DICT_STORAGE_SERVER_OPTIONS settings is unsafe in DEBUG mode. '
'Use CLOUDYDICT_STORAGE_SERVER_OPTIONS_SECRET instead',
warnings.DeprecationWarning)
DeprecationWarning)
config = settings.CLOUDY_DICT_STORAGE_SERVER_OPTIONS
else:
raise AttributeError('Use of cloudydict.django_storage.StorageFromSettings requires CLOUDYDICT_STORAGE_SERVER_OPTIONS_SECRET in django.conf.settings')
Expand Down

0 comments on commit 10076cc

Please sign in to comment.