Hi,
I disagree with Mike Dewhirst answer, here's mine.
The simplest way is in the template, to see if it's logged in:
{% if user.is_authenticated %}
Then maybe a much more powerful way is to write your right management this
way: first you write what you need beginning with "has_right_" like
On 22/08/2018 9:05 AM, chanman wrote:
I want to have a page look different for users who are logged in and
those who aren't.
This is the "normal" way to do things
For users that are signed in the page will have a sidebar with account
management options. For users who aren't signed in, this si
I want to have a page look different for users who are logged in and those
who aren't. For users that are signed in the page will have a sidebar with
account management options. For users who aren't signed in, this sidebar
shouldn't show up. The most obvious way to do this would be to have a
co
3 matches
Mail list logo