request.user objects in base.html

2009-01-14 Thread izzy_dizzy
Hi, I'm new to django and I would like to know how to make request.user objects available in context of base.html template. I wonder if someone can give me a full code for a custom template tag for it. Thanks in advance --~--~-~--~~~---~--~~ You received this mes

Re: How to add tinyMCE to django 1.0.2 admin

2009-01-14 Thread izzy_dizzy
Try using django-tiny_mce Here's its documentation: http://django-tinymce.googlecode.com/svn/tags/release-1.2/docs/.build/html/index.html On Jan 14, 3:26 pm, "Oleg Oltar" wrote: > Ok, I read the doc...But not sure if I done everything correctly, as the > tinyMCE is still not in my admin

request.user objects in base.html

2009-01-14 Thread izzy_dizzy
Hi all, I'm having a hard time on how to use request.user objects in base.html. I know that we can use requestcontext to be able to render request.user and its objects on a given template but I would like someone help me to be able to use it on base.html like: {% if user.is_authenticated%} You a