title: Set Mako as the default template renderer in Bottle.py
body: <p>Is there a way in Bottle where I can set Mako as the default template renderer.</p>
  
  <h3>This is the code I wanted to execute:</h3>
  
  <p><code>app.route(path='/', method='GET', callback=func, apply=[auth], template='index.html')</code></p>
  
  <h3>Where:</h3>
  
  <pre><code>func       : a function that returns a value (a dict)
  auth       : is a decorator for authentication
  index.html : displays the values from the "func" and contains "Mako" syntax
  </code></pre>
  
  <h3>I have tried:</h3>
  
  <ul>
  <li>Changing .html to .mako</li>
  <li>Used the <code>renderer</code> plugin: <code>app.route(..., renderer='mako'</code>)</li>
  <li>Tried different patterns: <code># even used '.mako', 'index.mako', 'index.html.mako'</code></li>
  </ul>
  
  <h3>Also looked inside <code>bottle</code> object but didn't saw any hint to set/change default engine:</h3>
  
  <pre><code># Print objects that contains "template" keyword, the object itself, and its value
  for i in dir(app):
      if 'template' in i.lower():
          print '{}: {}'.format(i, getattr(app, i))
  </code></pre>