From ba0d638dfb3a4d0f7ea9b7511547ef7960fa729b Mon Sep 17 00:00:00 2001 From: A R R R Associates Date: Sat, 22 Aug 2026 13:09:01 +0530 Subject: [PATCH] Fix Phase 5 historical learning CSRF import --- app/modules/accounting/historical_learning_ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/accounting/historical_learning_ui.py b/app/modules/accounting/historical_learning_ui.py index 2367a57..b498d7a 100644 --- a/app/modules/accounting/historical_learning_ui.py +++ b/app/modules/accounting/historical_learning_ui.py @@ -8,7 +8,7 @@ from fastapi.responses import RedirectResponse from sqlalchemy import select from app.core.db.common import CommonSessionLocal -from app.core.security import get_or_create_csrf_token, validate_csrf +from app.core.security.csrf import get_or_create_csrf_token, validate_csrf from app.core.templating import templates from app.modules.accounting.historical_learning_models import AccountingHistoricalLearningRun from app.modules.accounting.historical_learning_service import active_natures, classifiable_ledgers, evidence_rows, ingest_completed_run, ledger_mappings, party_suggestions, remove_ledger_mapping, save_ledger_mapping