2019-09-10 01:06:11 +02:00
|
|
|
"The base file for everything related to the models"
|
2019-09-11 16:01:49 +02:00
|
|
|
# This file will expose what we want from the models module.
|
|
|
|
# This will probably be everything. But putting the imports here makes it possible to import all
|
|
|
|
# models in one line like this:
|
2019-08-28 03:46:04 +02:00
|
|
|
#
|
|
|
|
# from models import User, Item, ...
|
|
|
|
#
|
|
|
|
# Instead of this:
|
|
|
|
# from models.user import User
|
|
|
|
# from models.item import Item
|
|
|
|
# ...
|
|
|
|
|
|
|
|
from .database import db
|
|
|
|
from .order import Order
|
|
|
|
from .orderitem import OrderItem
|
2020-01-26 02:13:02 +01:00
|
|
|
from .orderitemchoice import OrderItemChoice
|
2019-08-28 03:46:04 +02:00
|
|
|
from .user import User
|