coulomb-social/coulomb_social/apps/spaces/urls.py
tegwick 3f30bcd340 Add Forgejo edit/refresh sync path for space content (T05)
Keep git as source of truth: deep-link to Forgejo editor, manual refresh to
drop cache, and optional signed push webhook for automatic invalidation.
2026-08-12 03:29:26 +02:00

15 lines
336 B
Python

from django.urls import path
from . import views
app_name = "spaces"
urlpatterns = [
path(
"hooks/forgejo/",
views.forgejo_content_webhook,
name="forgejo_webhook",
),
path("<slug:slug>/refresh/", views.space_refresh, name="refresh"),
path("<slug:slug>/", views.space_detail, name="detail"),
]