django test redirect url code example
Example 1: django redirect
from django.shortcuts import redirect
Example 2: django redirect url
LOGIN_REDIRECT_URL = 'your_url'
LOGOUT_REDIRECT_URL = 'your_url'
from django.shortcuts import redirect
LOGIN_REDIRECT_URL = 'your_url'
LOGOUT_REDIRECT_URL = 'your_url'