django - url authentication with pinax -


in pinax-project-account when page rendered can, tag {% if not user.is_authenticated %}, control context rendered.

my question is, how possible control page appears? user tries hard code url on address bar , user not supposed see url. hint on start?

thank !

what you're looking django.contrib.auth, , specially login_required, permission_required , user_passes_test decorators.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -