Merge pull request #2 from Markush2010/news_blog

django.conf.settings does not have a `get()` method. Use `getattr()`