我想要下一个模板作品:
{% if not form.errors and request.method == 'POST' %}
<span id='saved'>Data has stored.</span>
<script type='text/javascript'>
setTimeout( function() { $( '#saved' ).fadeOut( 'slow' ); }, 2000 );
</script>
{% endif %}
如何在模板中获得对 request.method 的访问权限?