diff --git a/app/routes/storefront_pages.py b/app/routes/storefront_pages.py index 2371d686..e13f0a9c 100644 --- a/app/routes/storefront_pages.py +++ b/app/routes/storefront_pages.py @@ -43,7 +43,7 @@ from app.api.deps import get_current_customer_from_cookie_or_header, get_db from app.modules.cms.services import content_page_service from app.services.platform_settings_service import platform_settings_service from app.templates_config import templates -from models.database.customer import Customer +from app.modules.customers.models import Customer router = APIRouter() diff --git a/models/database/customer.py b/models/database/customer.py deleted file mode 100644 index 6986b857..00000000 --- a/models/database/customer.py +++ /dev/null @@ -1,23 +0,0 @@ -# models/database/customer.py -""" -LEGACY LOCATION - Re-exports from module for backwards compatibility. - -The canonical implementation is now in: - app/modules/customers/models/customer.py - -This file exists to maintain backwards compatibility with code that -imports from the old location. All new code should import directly -from the module: - - from app.modules.customers.models import Customer, CustomerAddress -""" - -from app.modules.customers.models.customer import ( - Customer, - CustomerAddress, -) - -__all__ = [ - "Customer", - "CustomerAddress", -]