Restore and lock in shop app, admin sidebar, media routing, and Stripe

This commit is contained in:
Zach committed 2026-11-24 18:31:31 +00:00
1 parent 93d83a0d63
commit 3cfea85499
15 files changed
+486 -73

No files matched your search

+6 -3
View File
@@ -1,9 +1,9 @@
from django.conf import settings
from django.urls import re_path
from django.urls import include, re_path
from django.views.static import serve
from django.urls import include, path
from django.urls import path
from django.contrib.auth import views as auth_views
from catalog import views, fans, reactions, reviews, paypal, streams, newsletter
from catalog import views, fans, reactions, reviews, paypal, streams, newsletter, shop_stripe
from catalog.admin import studio
urlpatterns = [
@@ -37,6 +37,9 @@ urlpatterns = [
path('fan/notifications/', fans.notices, name='fan-notices'),
path('fan/action/<str:kind>/<int:pk>/', fans.act, name='fan-action'),
path('books/', paypal.books, name='books'),
path('books/checkout/<int:product_id>/<int:variant_id>/', shop_stripe.checkout, name='shop-stripe-checkout'),
path('books/payment/<uuid:reference>/', shop_stripe.receipt, name='shop-stripe-receipt'),
path('webhooks/stripe/shop/', shop_stripe.webhook, name='shop-stripe-webhook'),
path('chapters/<int:number>/checkout/', paypal.start, name='paypal-start'),
path('checkout/paypal/<uuid:checkout_id>/', paypal.returned, name='paypal-return'),
path('checkout/paypal/<uuid:checkout_id>/finish/', paypal.finish, name='paypal-finish'),