title: Calling django template tags from a normal function
body: <p>How to call django template tags from a normal function?</p>
  
  <p>For instance:</p>
  
  <p><strong>Django template tag:</strong></p>
  
  <pre><code>@register.filter(name='CallingTemplateTagFunction')
  def CallingTemplateTagFunction(price):    
      return price*10/100
  </code></pre>
  
  <p>I wanna to call GetValue function in a normal function.</p>
  
  <p>For instance:</p>
  
  <p><strong>Normal python function:</strong></p>
  
  <pre><code>def Test(request):
      CallingTemplateTagFunction(50) # How to call django template tag function?
  </code></pre>