<form action="/edit/?nid={{ obj.id }}" method="post">
{#<form action="/edit/" method="post">#}
<input type="text" value="{{ obj.title }}" name="title">
<input type="submit">
</form>
get数据的?前要加/
<form action="/edit/?nid={{ obj.id }}" method="post">
{#<form action="/edit/" method="post">#}
<input type="text" value="{{ obj.title }}" name="title">
<input type="submit">
</form>
get数据的?前要加/