Rename coop to blog in app code and config
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m13s

- App name: "coop" → "blog"
- coop_context() → blog_context()
- coop_url → blog_url imports
- app_url("coop") → app_url("blog")
- Config keys: coop_root/coop_title → market_root/market_title
- Sync shared submodule

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-23 08:33:07 +00:00
parent 065147569c
commit 82968a366f
7 changed files with 19 additions and 19 deletions

View File

@@ -26,7 +26,7 @@ from shared.models import User, MagicLink, UserNewsletter
from shared.models.ghost_membership_entities import GhostNewsletter
from shared.config import config
from shared.utils import host_url
from shared.infrastructure.urls import coop_url
from shared.infrastructure.urls import blog_url
from shared.services.widget_registry import widgets
from sqlalchemy.orm import selectinload
@@ -83,7 +83,7 @@ def register(url_prefix="/auth"):
if cross_cart_sid:
qsession["cart_sid"] = cross_cart_sid
if g.get("user"):
return redirect(coop_url("/"))
return redirect(blog_url("/"))
return await render_template("_types/auth/login.html")
@@ -346,6 +346,6 @@ def register(url_prefix="/auth"):
@auth_bp.post("/logout/")
async def logout():
qsession.pop(SESSION_USER_KEY, None)
return redirect(coop_url("/"))
return redirect(blog_url("/"))
return auth_bp