The easiest way to do this is without creating a custom form and then using it:
1. In Your Models.py add "blank = True", for example:
Zone_Name = models.CharField(max_length=100L,unique=True,blank=True )
2.Create or add an existing Clean method in the same Model.py class (not in Admin.py) confirmation in the required field, for example:
def clean(self): if self.Zone_Name == None or not self.Zone_Name : raise ValidationError("Zone name is not given!")
Ido haussmann
source share