def save(self, **kwargs):
        if not self.pk:
            self.date_created = datetime.date.today()
        super(SupplierOrder, self).save(**kwargs)
Ensure we have a date_created before saving the first time.
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/satchmo_store/contact/supplier/models.py/SupplierOrder.save