Ticket #16302: ipv6-comments.diff
File ipv6-comments.diff, 777 bytes (added by , 13 years ago) |
---|
-
django/contrib/comments/models.py
57 57 58 58 # Metadata about the comment 59 59 submit_date = models.DateTimeField(_('date/time submitted'), default=None) 60 ip_address = models.IPAddressField(_('IP address'), blank=True, null=True) 60 ip_address = models.GenericIPAddressField(_('IP address'), 61 unpack_ipv4=True, blank=True, null=True) 61 62 is_public = models.BooleanField(_('is public'), default=True, 62 63 help_text=_('Uncheck this box to make the comment effectively ' \ 63 64 'disappear from the site.'))