Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added strict mode to utils.setting() #176

Merged
merged 1 commit into from
Aug 2, 2016
Merged

Conversation

ZuluPro
Copy link
Contributor

@ZuluPro ZuluPro commented Jul 30, 2016

This ease the way to detect a setting and raise an error if unfound.
With tests ;)

@codecov-io
Copy link

codecov-io commented Jul 30, 2016

Current coverage is 41.82% (diff: 100%)

Merging #176 into master will increase coverage by 0.17%

@@             master       #176   diff @@
==========================================
  Files            17         17          
  Lines          1311       1315     +4   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits            546        550     +4   
  Misses          765        765          
  Partials          0          0          

Powered by Codecov. Last update 29367fd...553ce13

:type strict: bool
:returns: Setting's value
:raises: django.core.exceptions.ImproperlyConfigured if setting is unfound
and stric mode
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You typoed the word strict here!

@ZuluPro
Copy link
Contributor Author

ZuluPro commented Aug 1, 2016

@jschneier: Updated !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants