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

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -