hotpocket/services/backend/hotpocket_backend/apps/ui/views/index.py
Tomek Wójcik b4338e2769
Some checks failed
CI / Checks (push) Failing after 13m2s
Release v1.0.0
2025-08-20 21:00:50 +02:00

13 lines
360 B
Python

# -*- coding: utf-8 -*-
from __future__ import annotations
from django.contrib.auth.decorators import login_required
from django.http import HttpRequest, HttpResponse
from django.shortcuts import redirect
from django.urls import reverse
@login_required
def index(request: HttpRequest) -> HttpResponse:
return redirect(reverse('ui.associations.browse'))