if tag with method call
This tag will invoke the specified method with the passed arguments.
- template
- django
- method
- invoke
This tag will invoke the specified method with the passed arguments.
Simple decorator to render an html template or return a json response. The view must return a dict object. Usage example: @render('page.html') def a_view(request): #do something return {'key': 'value'}