Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django settings module LOGIN_URL

# The URL or named URL pattern where requests are redirected for login when using the
# login_required() decorator, LoginRequiredMixin, or AccessMixin.

# In settings.py of your django project, add the following



LOGIN_URL = 'your_url'
 
PREVIOUS NEXT
Tagged: #django #settings #module
ADD COMMENT
Topic
Name
7+3 =