def has_default(self):
        return self.default is not NOT_PROVIDED
Returns a boolean of whether this field has a default value.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/db/models/fields/__init__.py/Field.has_default