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