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