On Thursday 29 Sep 2005 12:15 am, Adrian Holovaty wrote: > On 9/28/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > it only happens where there is an imagefield and an auto_now_add > > Can you paste an example model?
class testit(meta.Model): name = meta.CharField('name',maxlength=10) pub_date = meta.DateTimeField('Date',auto_now_add=True) photo = meta.ImageField('Photo',upload_to='images/') class META: admin = meta.Admin() def __repr__(self): return self.name result is: 1. image gets uploaded 2. record gets saved, but only the 'name' field is saved 3. postgres barfs saying datefield is empty -- regards kg http://www.livejournal.com/users/lawgon tally ho! http://avsap.org.in ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!