packet tracer 9.1.3 answers code example
Example: 6.2.2.4 packet tracer
from django.contrib.auth.decorators import login_required
@login_required
def my_view(request):
...
from django.contrib.auth.decorators import login_required
@login_required
def my_view(request):
...