play
Blank and Null in Django| Django Tips #8
12K views · Aug 12, 2022
Visit Channel:studygyaan.com
Django models API offers two similar options that usually cause confusion on many developers: null and blank

Null: It is database-related. Defines if a given database column will accept null values or not.
Blank: It is validation-related. It will be used during forms validation, when calling form.is_valid()

Blog - https://studygyaan.com/

Code - https://github.com/FalseG0d/AdvancedDjango

Video Contributed by Apoorv Garg

If you also want to contribute videos on Python, Data Science, Django then send your videos @ [email protected]

#DjangoTips
Show More

Comments

Recommended Videos
'Video thumbnail for Blank and Null in Django| Django Tips #8'
3:38
play
Blank and Null in Django| Django Tips #8
12K views · Aug 12, 2022
'Video thumbnail for Correct way to use get_or_create?  | Get or Create Django | Django Tips#6'
3:27
play
Correct way to use get_or_create? | Get or Create Django | Django Tips#6
3K views · Aug 12, 2022
'Video thumbnail for Using F() Expressions | Django Tips #12'
4:04
play
Using F() Expressions | Django Tips #12
7K views · Aug 12, 2022
'Video thumbnail for Initial Value in Django Forms - Set Default Form Value'
10:41
play
Initial Value in Django Forms - Set Default Form Value
9K views · Aug 12, 2022
'Video thumbnail for Custom Login & Registeration Form | Authentication Form Custom Login Policy | Django Tips #10'
9:40
play
Custom Login & Registeration Form | Authentication Form Custom Login Policy | Django Tips #10
594 views · Aug 12, 2022
'Video thumbnail for How to Merge Query Sets Django  | Django Tips#5'
3:27
play
How to Merge Query Sets Django | Django Tips#5
540 views · Aug 12, 2022
'Video thumbnail for Automatic DateTime Fields in Django  | Django Tips#4'
3:22
play
Automatic DateTime Fields in Django | Django Tips#4
25K views · Aug 12, 2022
'Video thumbnail for How To Perform Validations In Rest Framework | Django Rest Framework #6'
10:41
play
How To Perform Validations In Rest Framework | Django Rest Framework #6
3K views · Aug 12, 2022
'Video thumbnail for Django Message Framework | Notification & Flash Messages | Django Tips #13'
4:27
play
Django Message Framework | Notification & Flash Messages | Django Tips #13
1K views · Aug 12, 2022
'Video thumbnail for Django Redirect Functions | Django Tips#1'
6:17
play
Django Redirect Functions | Django Tips#1
4K views · Aug 12, 2022