skip to main
|
skip to sidebar
Web Developers
PHP, MYSQL, HTML, JAVASCRIPT, CSS, JQUERY, TRIGGER
Set not null validation in django form
Posted In:
Django
. By CreativeSolutions
To set the not null validation, we need to set the 'Blank=False' in the corresponding field declaration in model
Ex:
name = models.CharField(max_length=255, blank=False, null=True)
In this null=True refers to the database property
0 Responses to Set not null validation in django form
Something to say?
Older Post
< ||| > > >
Newer Post
Budget Honeymoon Packages
Home
Categories
Convert MYQL timestamp (1)
Djago rest framework (2)
Django (25)
Errors (1)
Javascript (2)
jQuery (2)
Magento 2 (5)
MYSQL (3)
PHP Mail problem in Windows server (1)
Python (12)
Regex (1)
Stoed procedure view and delete commands (1)
Blog Archive
►
2024
(1)
►
July
(1)
►
2023
(1)
►
January
(1)
►
2022
(5)
►
August
(1)
►
June
(1)
►
April
(1)
►
February
(2)
►
2021
(2)
►
August
(2)
►
2016
(6)
►
September
(1)
►
May
(1)
►
February
(4)
►
2015
(6)
►
December
(1)
►
April
(1)
►
March
(4)
►
2014
(8)
►
December
(1)
►
July
(2)
►
June
(1)
►
May
(1)
►
April
(3)
▼
2013
(23)
►
November
(2)
►
October
(4)
►
June
(2)
►
April
(1)
▼
March
(10)
Installing and configuring virtualenv for django p...
How to set and print views variables in template
Common field types in django models
Set not null validation in django form
Connect to msssql server from linux server using php
How to debug sql query in django
How to set base path and static Css and Image path...
How to show field name instead of Object in Django...
How to fix Exception "Site matching query does not...
Compile all django or python files
►
February
(3)
►
January
(1)
►
2012
(8)
►
August
(1)
►
February
(2)
►
January
(5)
►
2011
(5)
►
December
(1)
►
May
(1)
►
January
(3)
►
2010
(3)
►
December
(1)
►
August
(1)
►
July
(1)
►
2009
(5)
►
August
(2)
►
July
(1)
►
June
(2)
►
2008
(16)
►
December
(2)
►
November
(1)
►
October
(2)
►
September
(1)
►
August
(1)
►
July
(3)
►
June
(6)
Feeds
Posts
Atom
Posts
Comments
Atom
Comments
ARCHIVES
2024
2023
2022
2021
2016
2015
2014
2013
2012
2011
2010
2009
2008
0 Responses to Set not null validation in django form
Something to say?