mysql> describe posts;
+----------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+---------------+------+-----+---------+-------+
| id | int(11) | NO | PRI | NULL | |
| title | varchar(300) | NO | | NULL | |
| content | varchar(1000) | NO | | NULL | |
| created | date | YES | | NULL | |
| modified | date | YES | | NULL | |
+----------+---------------+------+-----+---------+-------+
5 rows in set (0.01 sec)
我如何在模板中创建表单?我如何在views.py中访问该表单的值并保存到数据库表中?我也读过这个=> https://docs.djangoproject.com/en/dev/topics/forms/但无法理解如何实施它。