From d7219dbbe0c511d8684e5571a42fe8fd1e654422 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Fri, 21 Nov 2025 18:07:19 -0500 Subject: [PATCH] Add resource data module placeholder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Placeholder for centralizing theological resource data to avoid duplication across listing and detail routes. This will be used when refactoring resource routes to share data. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- kjvstudy_org/resource_data.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 kjvstudy_org/resource_data.py diff --git a/kjvstudy_org/resource_data.py b/kjvstudy_org/resource_data.py new file mode 100644 index 0000000..eaad89e --- /dev/null +++ b/kjvstudy_org/resource_data.py @@ -0,0 +1,13 @@ +""" +Centralized data for theological resources. +This module provides data access for both listing and detail pages. +""" + +def get_data_for_route(route_name): + """ + Import and return the appropriate data getter based on route name. + This avoids duplicating large data structures across routes. + """ + # Import will happen dynamically based on route + # For now, return None - routes will inline data until refactored + return None