浏览代码

Rename docs page to 'Using forms in admin views'

Matt Westcott 3 年之前
父节点
当前提交
92cc026694
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/extending/forms.md

+ 1 - 1
docs/extending/forms.md

@@ -1,4 +1,4 @@
-# Forms
+# Using forms in admin views
 
 [Django's forms framework](https://docs.djangoproject.com/en/stable/topics/forms/) can be used within Wagtail admin views just like in any other Django app. However, Wagtail also provides various admin-specific form widgets, such as date/time pickers and choosers for pages, documents, images and snippets. By constructing forms using `wagtail.admin.forms.models.WagtailAdminModelForm` as the base class instead of `django.forms.models.ModelForm`, the most appropriate widget will be selected for each model field. For example, given the model and form definition: