Michael,

we use:

from openbudget.settings import base as settings

All over the codebase. If it is not working for you, there is another
problem in your script.

Best,

Paul.

*Paul Walsh*
0543551144


On 12 June 2013 20:16, Michael Doron <notifications@github.com> wrote:

> In openbudget/apps/transport/sheetImporter.py:
>
> > @@ -0,0 +1,33 @@
> > +import os
> > +os.environ['DJANGO_SETTINGS_MODULE'] = 'openbudget.settings.base'
> > +import sys
> > +sys.path.append('../../../')
>
> We tried deleting these lines, but they are required
> (otherwise we get the error:
> import openbudget.settings.base as settings
> ImportError: No module named openbudget.settings.base
> )
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/hasadna/omuni-budget/pull/191/files#r4661483>
> .
>