6.4.5 packet tracer 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):
...