mirror of
https://github.com/KUlishevgeniy/c22712.git
synced 2026-09-23 23:50:21 +00:00
17 lines
325 B
Python
17 lines
325 B
Python
from django.http import HttpResponse
|
|
from django.shortcuts import render
|
|
# from db_get_data import exec_query
|
|
|
|
|
|
def index(request):
|
|
context = {
|
|
"text": "test",
|
|
"list": range(101)
|
|
}
|
|
|
|
return HttpResponse(render(request, "polls/index.html", context))
|
|
|
|
|
|
def test(req):
|
|
return HttpResponse("test")
|