SCIPIO_TRUST_URL raises AttributeError
Bug #517538 reported by
Sergei Lebedev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Scipio |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Despite the description in scipio/settings.py SCIPIO_TRUST_URL raises AttributeError when it's not defined in project's settings. A tiny patch to fix this is attached.
The thing is, it's kind of "by design" :-). General idea is that writing "get(settings, SETTING)" everywhere is not beautiful. So Scipio expects that a user should import all its default settings into the main settings file ("from scipio.settings import *") and then alter some of them if needed. Though currently it doesn't say this anywhere...
Are you happy with this approach?