<filename>calling_plan/pages/views.py<gh_stars>0
from django.contrib.auth.decorators import login_required
from django.shortcuts import render


@login_required(login_url="core:login")
def home(request):
    return render(request, "pages/home.html")

<filename>calling_plan/pages/views.py<gh_stars>0
from django.contrib.auth.decorators import login_required
from django.shortcuts import render


@login_required(login_url="core:login")
def home(request):
    return render(request, "pages/home.html")
