Is there a way to use 'request.user' in a custom template tag without an inclusion tag?

2012-07-29 Thread Ash Courchene
So I made a custom template tag that allows pieces of content to be edited by the site administrator with the click of a link. For instance, if i put {% editable 'index_block_one' %}, it would return whatever content is in the Placeholder model I created with the name "index_block_one". The code

Re: Is there a way to use 'request.user' in a custom template tag without an inclusion tag?

2012-07-29 Thread Ash Courchene
Well holy crap!! context['user'] worked perfectly! I thought I would have to come up with some crazy workaround! Thank you kindly sir. On Sunday, 29 July 2012 15:03:13 UTC-4, Ash Courchene wrote: > > So I made a custom template tag that allows pieces of content to be edite