Skip to content

views

controller.views

Views module for the controller app.

Functions

index(request)

View that renders the index/home page.

Source code in controller/views.py
@login_required
def index(request: HttpRequest) -> HttpResponse:
    """View that renders the index/home page."""
    return render(request=request, template_name="controller/index.html")