Commit 3ad9a41dc4c7eb6591c85c48a8a58f365700d5f3
- Diff rendering mode:
- inline
- side by side
dbsetup.py
(1 / 1)
  | |||
22 | 22 | # Import all modules which represents a SQLAlchemy model; | |
23 | 23 | # they have corresponding tables that are needed to be created | |
24 | 24 | from swtstore.classes.models import Sweet, Context, Client | |
25 | from swtstore.classes.models.um import User, Group, Membership | ||
25 | from swtstore.classes.models import User, Group, Membership | ||
26 | 26 | ||
27 | 27 | ||
28 | 28 | if __name__ == '__main__': |
  | |||
1 | 1 | from user import User | |
2 | #from group import Group | ||
3 | #from membership import Membership | ||
2 | from group import Group | ||
3 | from membership import Membership | ||
4 | 4 | from context import Context | |
5 | 5 | from sweet import Sweet | |
6 | 6 | from client import Client, AuthorizedClients |