In ajax.py, I have this import statement:
import components.db_init as db
In components/db_init.py, I have this import statement:
# import locals from ORM (Storm)
from storm.locals import *
And in components/storm/locals.py, it has this:
from storm.properties import Bool, Int, Float, RawStr, Chars, Unicode, Pickle
from storm.properties import List, Decimal, DateTime, Date, Time, Enum
from storm.properties import TimeDelta
from storm.references import Reference, ReferenceSet, Proxy
from storm.database import create_database
from storm.exceptions import StormError
from storm.store import Store, AutoReload
from storm.expr import Select, Insert, Update, Delete, Join, SQL
from storm.expr import Like, In, Asc, Desc, And, Or, Min, Max, Count, Not
from storm.info import ClassAlias
from storm.base import Storm
So, when I run that import statement in ajax.py, I get this error:
<type 'exceptions.ImportError'>: No module named storm.properties
I can run components/db_init.py fine without any exceptions... so I have no idea what's up.
Can someone shed some light on this problem?