Thursday, August 18, 2011

Best way to show/hide the logout link in a template?

Hi,

I am new to Django... I have made a logout link, but now I am in doubt
on which the best way to show/hide this template tag:

[code]
<a href="{% url auth_logout_next 'directorio' %}">Logout</a>
[/code]

Which is the best way of show/hide this link?

Sorry if it is a basic question.


Best Regards,

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate