init: django project with CI pipeline
Some checks failed
Build and Push Docker Image / build (push) Failing after 2m47s

This commit is contained in:
2026-02-08 12:40:31 +08:00
commit a8af8d1b64
9 changed files with 103 additions and 0 deletions

13
app/urls.py Normal file
View File

@@ -0,0 +1,13 @@
from django.http import JsonResponse
def health(request):
return JsonResponse({'status': 'ok'})
urlpatterns = []
# 使用简单的路由,避免引入 django.contrib.admin
from django.urls import path
urlpatterns = [
path('', health),
path('health/', health),
]