generated from westfarn/web_django_template
## Summary - Rebrand the Django client template as Print Forge (`client_site` → `print_forge`) with shop + shipping enabled. - Product listings support multiple photos, color variants (shared price/description/STL, per-color stock and photos), and a photo-first / 3D-second gallery. - Public pages use 3D printer / printed-toy photography instead of leftover t-shirt mockups; beta CI deploys on `master`. Closes #1 Infra: [server-infra#27](ai_ml_operations/server-infra#27) (easy deploy beta). ## Test plan - [ ] Product page shows photo first, 3D model second; color swatches swap photos and stock - [ ] Portal can upload multiple photos and per-color qty/images; STL stays shared - [ ] Public home/about/gallery have no t-shirt mockups - [ ] `manage.py test` passes - [ ] After server-infra#27: beta deploy to `print-forge-preview.aimloperations.com` Reviewed-on: #2
14 lines
450 B
Python
14 lines
450 B
Python
from django.urls import path
|
|
|
|
from shipping import views
|
|
|
|
app_name = "shipping"
|
|
|
|
urlpatterns = [
|
|
path("", views.shipment_list, name="shipment_list"),
|
|
path("new/", views.shipment_create, name="shipment_create"),
|
|
path("export/pirate-ship.csv", views.pirate_ship_export, name="pirate_ship_export"),
|
|
path("<uuid:pk>/", views.shipment_detail, name="shipment_detail"),
|
|
path("<uuid:pk>/buy/", views.shipment_buy, name="shipment_buy"),
|
|
]
|