Blank and Null in Django| Django Tips #8
Aug 12, 2022
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 Show Less 