2👍
Create your own decorator that will validate the logged in user before going into the view and show the content accordingly. Put a check in the template that the logged in user is requesting the page. You can use both @login_required and your own decorator on your view.
Source:stackexchange.com