Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django check if user is staff in template

{% if request.user.is_staff %}
 
PREVIOUS NEXT
Tagged: #django #check #user #staff #template
ADD COMMENT
Topic
Name
5+4 =