From 3ad9a41dc4c7eb6591c85c48a8a58f365700d5f3 Mon Sep 17 00:00:00 2001 From: Anon Ray Date: Tue, 3 Jun 2014 16:25:31 +0530 Subject: [PATCH] Fix dbsetup.py after removing submodule After removing the submodule, fix the import statement in dbsetup.py --- dbsetup.py | 2 +- swtstore/classes/models/__init__.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dbsetup.py b/dbsetup.py index e6c8ff8..27f181e 100644 --- a/dbsetup.py +++ b/dbsetup.py @@ -22,7 +22,7 @@ db = getDBInstance() # Import all modules which represents a SQLAlchemy model; # they have corresponding tables that are needed to be created from swtstore.classes.models import Sweet, Context, Client -from swtstore.classes.models.um import User, Group, Membership +from swtstore.classes.models import User, Group, Membership if __name__ == '__main__': diff --git a/swtstore/classes/models/__init__.py b/swtstore/classes/models/__init__.py index 616b5c1..7b52ea3 100644 --- a/swtstore/classes/models/__init__.py +++ b/swtstore/classes/models/__init__.py @@ -1,6 +1,6 @@ from user import User -#from group import Group -#from membership import Membership +from group import Group +from membership import Membership from context import Context from sweet import Sweet from client import Client, AuthorizedClients -- 1.7.10.4