#NEWLINE# def validate( self , value ) : #NEWLINE# #INDENT# "\n        Returns a cleaned and validated value. Raises a ValidationError\n        if there's a problem\n        " #NEWLINE# if ( value is None ) : #NEWLINE# #INDENT# if self . required : #NEWLINE# #INDENT# raise ValidationError ( '{0} - None values are not allowed' . format ( ( self . column_name or self . db_field ) ) ) #NEWLINE# #UNINDENT# #UNINDENT# return value