Complete the code to import the function that sends users to a different page.
from flask import [1]
The redirect function is used to send users to a different URL in Flask.
Complete the code to stop the request and return a 404 error.
from flask import [1]
The abort function stops the request and returns an HTTP error code like 404.
Fix the error in this code that tries to redirect to the home page.
return [1]('/')
The redirect function is used to send the user to a different URL, like the home page.
Fill both blanks to abort with a 403 Forbidden error and a custom message.
return [1]([2], description='Access denied')
Use abort with the error code 403 to stop the request and show 'Forbidden'.
Fill all three blanks to redirect to the 'login' page using url_for inside redirect.
return [1]([2]('[3]'))
Use redirect with url_for to send users to the 'login' page.
