Initial commit - Zhangmenu Django project

A menu management application built with Django, featuring:
- Dish management with cover images
- Order system with party dates and participants
- REST API with Django REST Framework
- Bootstrap-styled frontend

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Developer
2026-03-12 11:27:23 +08:00
co-authored by Claude Opus 4.6
commit 0a50c09dba
47 changed files with 10268 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
from django.urls import path, include
from rest_framework.routers import DefaultRouter
from . import views
router = DefaultRouter()
router.register(r'categories', views.DishCategoryViewSet)
router.register(r'dishes', views.DishViewSet)
router.register(r'orders', views.OrderViewSet)
urlpatterns = [
path('', views.index, name='index'),
path('api/', include(router.urls)),
path('api/parse-url/', views.ParseUrlView.as_view()),
path('api/upload/', views.upload_image, name='upload'),
]