Hi, you are basically asking how views and templates work in django.
I suggest start with the django tutorials [1] and then you will understand that what you are trying to do is nothing special. You might want to use a decorator called “@login_required” vor your views which show user info. This way you don’t have to check yourself, if a user is logged in or not. Good luck and fun in learning django. [1] https://docs.djangoproject.com/en/dev/intro/tutorial01/ On Nov 15, 2011, at 15:45 , Levi Campbell wrote: > I'm trying to create a base template that would display user-specific > information such as an avatar and the number of unread messages a user > has, what's the best way to do this? I know by reading the > documentation that I can check if a user is logged in, which is a > start, but doesn't fully answer my question. Searching Google only > points me back to the django documentation and to examples, none of > them fit the bill. Thank you for your time and have a great day. > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. >
smime.p7s
Description: S/MIME cryptographic signature