Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check if the user is logged in django decorator

from django.contrib.auth.decorators import login_required

@login_required
def edit_user_profile(request):
 
PREVIOUS NEXT
Tagged: #check #user #logged #django #decorator
ADD COMMENT
Topic
Name
1+3 =