def test_datefield_auto_now_add(self):
        b = RumBaba.objects.create()
        # Verify we didn't break DateTimeField behavior
        self.assertTrue(isinstance(b.baked_timestamp, datetime.datetime))
        # We need to test this this way because datetime.datetime inherits
        # from datetime.date:
        self.assertTrue(isinstance(b.baked_date, datetime.date) and not isinstance(b.baked_date, datetime.datetime))
Regression test for #10970, auto_now_add for DateField should store
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/datatypes/tests.py/DataTypesTestCase.test_datefield_auto_now_add