Redirect jika tidak dicatat di Django
from django.contrib.auth.decorators import login_required
@login_required(login_url='/accounts/login/')
def my_view(request):
...
Important Ibis