Re: Need help with auto_now_add and auto_now fields

2015-08-03 Thread rajan santhanam
<findsarfa...@gmail.com> wrote: > I have entries present in User Profile Table. But this field belongs to > User_Address model which is new and does not have any entries present. > Please advice. > > > > > On Tue, Aug 4, 2015 at 12:51 AM, rajan santhanam < > r

Re: Need help with auto_now_add and auto_now fields

2015-08-03 Thread rajan santhanam
Hi Ahmed, This message is because you hav few entries already present for that model in DB. If it is OK for you, you can add datetime.now as default value for the existing rows Many Thanks Rajan -- You received this message because you are subscribed to the Google Groups "Django users" group.