With the addition of generic views, we can easily do a redirect from urls.py. Simply pass the url to the RedirectView and that’s it.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters