Commit f8545b4e by Patryk Czarnik

podpięcie formularza

parent 865551d9
......@@ -10,6 +10,9 @@ def index(request:HttpRequest) -> HttpResponse:
def hello(request):
return HttpResponse('Hello world')
def formularz(request):
return render(request, 'formularz.html')
def podaj_czas(request):
dt = datetime.now()
return HttpResponse(dt, content_type='text/plain;charset=UTF-8')
......
......@@ -30,4 +30,5 @@ urlpatterns = [
path("rozmowa", rozmowa),
path("kalkulator", kalkulator),
path("kalkulator_post", kalkulator_post),
path("formularz", formularz),
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment