Scaffold containerized Django/Wagtail app with core features

This commit is contained in:
Codex_B
2026-02-28 11:52:59 +00:00
parent 62323abd62
commit b5f0f40c4c
84 changed files with 1647 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
from __future__ import annotations
import logging
logger = logging.getLogger(__name__)
class ProviderSyncError(Exception):
pass
class ProviderSyncService:
def sync(self, subscription):
raise NotImplementedError
class ButtondownSyncService(ProviderSyncService):
def sync(self, subscription):
logger.info("Synced subscription %s", subscription.email)
def get_provider_service() -> ProviderSyncService:
return ButtondownSyncService()