【发布时间】:2019-07-05 04:19:18
【问题描述】:
我有一个基本问题。我找不到表单 action="." 的解释。尽管在 google、www.w3schools.com 等上搜索...
任何人都知道 .形式的行动手段?它是 Django 特有的吗?引导程序?
代码如下:
{% extends "Blog.html" %}
{% block blog%}
<h1>Create an account</h1>
<p>Please, sign up using the following form:</p>
<form action="." method="post">
{{ user_form.as_p }}
{% csrf_token %}
<p><input type="submit" value="Create my account"></p>
</form>
{% endblock %}
【问题讨论】:
标签: html django twitter-bootstrap forms