django test by perfecto

This commit is contained in:
pErfEcto2
2023-05-04 11:31:11 +03:00
parent d0d2a37782
commit d8897febc5
36 changed files with 298 additions and 0 deletions
@@ -0,0 +1,15 @@
from django.http import HttpResponse
from django.shortcuts import render
# from db_get_data import exec_query
def index(request):
context = {
"text": "test"
}
return HttpResponse(render(request, "polls/index.html", context))
def test(req):
return HttpResponse("test")