Template
## Summary - Closes #5 - Optional `shop`, `pos_sync`, `events`, and `shipping` apps gated by `FEATURE_*` flags - Deps match the catalog: shop/events need email + Stripe; POS/shipping need shop - Portal inventory, POS webhooks, capacity tickets, EasyPost/Pirate Ship shipping ## Test plan - [ ] `manage.py test` (152 passed locally) - [ ] Shop cart + paid order decrements stocked inventory - [ ] POS inbound webhook decrements SKU; paid order queues outbound reserve - [ ] Event capacity blocks overbook; paid order emails ticket codes - [ ] Shipping stub label + Pirate Ship CSV of unshipped paid orders - [ ] `validate-env.sh` rejects shop without email/payments, POS/shipping without shop Reviewed-on: #6
14 lines
441 B
Python
14 lines
441 B
Python
from django.urls import path
|
|
|
|
from events import views
|
|
|
|
app_name = "events_portal"
|
|
|
|
urlpatterns = [
|
|
path("", views.portal_event_list, name="event_list"),
|
|
path("new/", views.portal_event_edit, name="event_new"),
|
|
path("<uuid:pk>/", views.portal_event_detail, name="event_detail"),
|
|
path("<uuid:pk>/edit/", views.portal_event_edit, name="event_edit"),
|
|
path("webhooks/stripe/", views.stripe_webhook, name="stripe_webhook"),
|
|
]
|