This repository has been archived on 2026-03-13. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
test-ci/app/urls.py
gqt a8af8d1b64
Some checks failed
Build and Push Docker Image / build (push) Failing after 2m47s
init: django project with CI pipeline
2026-02-08 12:40:31 +08:00

14 lines
278 B
Python

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),
]