mirror of
https://github.com/Balshgit/public.git
synced 2025-09-11 18:00:42 +03:00
13 lines
326 B
Python
13 lines
326 B
Python
from django.http import HttpRequest, HttpResponse
|
|
from django.shortcuts import render
|
|
|
|
|
|
def index(request: HttpRequest) -> HttpResponse:
|
|
"""
|
|
Main (or index) view.
|
|
|
|
Returns rendered default page to the user.
|
|
Typed with the help of ``django-stubs`` project.
|
|
"""
|
|
return render(request, 'main/index.html')
|