Ticket #6185: freecomments_newforms_fix.diff
File freecomments_newforms_fix.diff, 767 bytes (added by , 17 years ago) |
---|
-
django/contrib/comments/models.py
159 159 object_id = models.IntegerField(_('object ID')) 160 160 comment = models.TextField(_('comment'), max_length=3000) 161 161 person_name = models.CharField(_("person's name"), max_length=50) 162 submit_date = models.DateTimeField(_('date/time submitted'), auto_now_add=True)162 submit_date = models.DateTimeField(_('date/time submitted'), default=datetime.datetime.now) 163 163 is_public = models.BooleanField(_('is public')) 164 164 ip_address = models.IPAddressField(_('ip address')) 165 165 # TODO: Change this to is_removed, like Comment