Configure shop app, admin sidebar, media routing, and Stripe dependencies

This commit is contained in:
zach committed 2026-11-24 00:16:35 +00:00
commit 93d83a0d63
188 files changed
+9220

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name='shop-index'),
path('cart/', views.cart_view, name='shop-cart'),
path('cart/add/<int:pk>/', views.cart_add, name='shop-cart-add'),
path('cart/update/<int:pk>/', views.cart_update, name='shop-cart-update'),
path('checkout/', views.checkout_start, name='shop-checkout'),
path('subscribe/<slug:slug>/', views.subscribe_start, name='shop-subscribe'),
path('paypal/return/<uuid:order_id>/', views.paypal_return, name='shop-paypal-return'),
path('order/<uuid:order_id>/', views.order_detail, name='shop-order-detail'),
path('order/<uuid:order_id>/download/<int:item_id>/', views.download_digital, name='shop-download'),
path('webhooks/stripe/', views.stripe_webhook, name='shop-stripe-webhook'),
path('webhooks/paypal/', views.paypal_webhook, name='shop-paypal-webhook'),
path('<slug:slug>/', views.product_detail, name='shop-product'),
]