Re: default now() in django created...

2006-09-29 Thread Malcolm Tredinnick
Hi Anil, You have multiple problems here. On Sat, 2006-09-30 at 03:57 +, anil wrote: > Hi djangoers > class Poll(models.Model): > question = models.CharField(maxlength=200) > pub_date = models.DateTimeField(default='now()','date created') > > gives me an error saying > > python man

default now() in django created...

2006-09-29 Thread anil
Hi djangoers class Poll(models.Model): question = models.CharField(maxlength=200) pub_date = models.DateTimeField(default='now()','date created') gives me an error saying python manage.py syncdb Error: Couldn't install apps, because there were errors in one or more models: sodahead.polls