Commit 3ad9a41dc4c7eb6591c85c48a8a58f365700d5f3
Fix dbsetup.py after removing submodule
After removing the submodule, fix the import statement in dbsetup.py
| | | | 22 | # Import all modules which represents a SQLAlchemy model; | 22 | # Import all modules which represents a SQLAlchemy model; |
---|
23 | # they have corresponding tables that are needed to be created | 23 | # they have corresponding tables that are needed to be created |
---|
24 | from swtstore.classes.models import Sweet, Context, Client | 24 | from swtstore.classes.models import Sweet, Context, Client |
---|
25 | from swtstore.classes.models.um import User, Group, Membership | | from swtstore.classes.models.um import User, Group, Membership |
---|
| | 25 | from swtstore.classes.models import User, Group, Membership | 26 | | 26 | |
---|
27 | | 27 | |
---|
28 | if __name__ == '__main__': | 28 | if __name__ == '__main__': |
---|
| | | | 1 | from user import User | 1 | from user import User |
---|
2 | #from group import Group | | #from group import Group |
---|
3 | #from membership import Membership | | #from membership import Membership |
---|
| | 2 | from group import Group | | | 3 | from membership import Membership |
---|
4 | from context import Context | 4 | from context import Context |
---|
5 | from sweet import Sweet | 5 | from sweet import Sweet |
---|
6 | from client import Client, AuthorizedClients | 6 | from client import Client, AuthorizedClients |
---|