Changes between Initial Version and Version 1 of Ticket #31049


Ignore:
Timestamp:
Dec 1, 2019, 1:23:09 AM (5 years ago)
Author:
Shinneider Libanio da Silva
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31049 – Description

    initial v1  
    1717  def validate(self, value):
    1818-       if not value and self.required:
    19 +      if '''value is None''' and self.required:
     19+       if value is None and self.required:
    2020            raise ValidationError(self.error_messages['required'], code='required')
    2121}}}
Back to Top