This commit is contained in:
doudou201703
2026-08-02 14:07:04 +08:00
commit 046fac6dc1
339 changed files with 19435 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
from django.core.handlers.wsgi import WSGIRequest
from django.http import HttpResponseRedirect
from django.shortcuts import render
from rest_framework.request import Request
from rest_framework.viewsets import ViewSet
class htmlViewSets( ViewSet ):
def home( self, request: WSGIRequest | Request ):
""""""
return render( request=request, template_name="xiao.html" )
# return HttpResponseRedirect( redirect_to="https://www.qq.com/" )