TreeHouse_Django_Forms

در این آموزش تصویری با نحوه کار با فرم ها در Django آشنا می شوید.
این دوره آموزشی محصول موسسه TreeHouse است.

سرفصل های دوره:

  • نحوه ایجاد یک فرم
  • کار با Django
  • فرم ها در Django چه کاربردی دارند؟
  • نحوه نمایش یک فرم
  • نحوه اعتبار سنجی داده های فرم
  • کار با html
  • نحوه تعیین اهداف
  • نحوه حذف رشته ها
  • نحوه حذف و اضافه کردن داده ها به فرم
  • نحوه ویرایش فرم
  • نحوه تست فرم ها
  • و…

عنوان دوره: TreeHouse Django Forms
نویسنده: Kenneth Love


توضیحات:

TreeHouse Django Forms

Kenneth Love

About this Course
Django Forms let us quickly create HTML forms and validate information from users and APIs. Django gives us two types of Forms, basic Forms and Model Forms, which turn our Models into Forms. Our learning app needs quizzes, so let's build them with Forms!
What you'll learn
Forms
Model Forms
Data validation
Model inheritance
Forms
Basic Forms in Django are handy for data validation and non-model-based data entry. They automatically create their own HTML and do some serious validation.
More on Models
To create our quizzes, we're going to need a few more models. And since a few of them share a lot of information and functionality, let's look into inheritance with multiple tables and abstract models.
7 steps
Model Forms
Quite often, we just want a form that represents a model in our app. Django gives us a great way to handle that scenario with Model Forms.
10 steps
Inlines and Media
Now that we have basic and model forms down, let's see how to use multiple forms, inline forms, and provide some special media to our forms.
7 steps

13 steps
What are Forms in Django?
1:58
Creating a Form
4:04
Create a Simple Form
4 objectives
Showing a Form in a View
8:18
Instantiate a Form in a View
3 objectives
Handling a Form in a View
10:10
Validate a Form in a View
2 objectives
Custom Field Validation
7:16
Clean a Field
2 objectives
Using and Creating Validators
3:38
Create a Validator
2 objectives
Cleaning a Whole Form
4:28
Clean Two Fields
1 objective