
Create a complete e-commerce application with the following features: - User authentication and authorization - Product and category management - Shopping cart functionality - Order processing - Database migrations with Alembic - Comprehensive documentation
10 lines
447 B
Python
10 lines
447 B
Python
# Import all the models, so that Base has them before being
|
|
# imported by Alembic
|
|
from app.db.base_class import Base # noqa
|
|
from app.models.user import User # noqa
|
|
from app.models.product import Product # noqa
|
|
from app.models.category import Category # noqa
|
|
from app.models.order import Order # noqa
|
|
from app.models.order_item import OrderItem # noqa
|
|
from app.models.cart import Cart # noqa
|
|
from app.models.cart_item import CartItem # noqa |