Commit 3ad9a41dc4c7eb6591c85c48a8a58f365700d5f3

Fix dbsetup.py after removing submodule

  After removing the submodule, fix the import statement in dbsetup.py
  • Diff rendering mode:
  • inline
  • side by side

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 created23# they have corresponding tables that are needed to be created
24from swtstore.classes.models import Sweet, Context, Client24from swtstore.classes.models import Sweet, Context, Client
25from swtstore.classes.models.um import User, Group, Membership
25from swtstore.classes.models import User, Group, Membership
2626
2727
28if __name__ == '__main__':28if __name__ == '__main__':

swtstore/classes/models/__init__.py

1from user import User1from user import User
2#from group import Group
3#from membership import Membership
2from group import Group
3from membership import Membership
4from context import Context4from context import Context
5from sweet import Sweet5from sweet import Sweet
6from client import Client, AuthorizedClients6from client import Client, AuthorizedClients