Initial commit: rdgen with GitHub/Gitea dual build backend

This commit is contained in:
naeeo
2026-09-29 19:56:02 +08:00
commit a3686a49d4
103 changed files with 20007 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
"""统一的中文错误页面。"""
from django.shortcuts import render
def handler403(request, exception=None):
return render(request, '403.html', status=403)
def handler404(request, exception=None):
return render(request, '404.html', status=404)
def handler500(request):
return render(request, '500.html', status=500)