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: non-keyword arg after keyword arg (models.py, line 9) Please help me out I dont want to specify datatime.now() everytime I insert something in the db I want it to do this automatically by calling function in postgresql THanks for pointers Anil --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---