Changes between Initial Version and Version 1 of Ticket #22666, comment 2


Ignore:
Timestamp:
05/21/2014 04:48:52 AM (5 years ago)
Author:
Marti Raudsepp
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22666, comment 2

    initial v1  
    1111Uh, so subclasses of GenericIPAddressField with a different name don't inherit its behavior? :( It seems we're adding hacks on top of hacks.
    1212
    13 Actually the test introduced in commit f7467181aa56e30c946ff55190c49792d6e9a72f points out a problem, it can't be done exactly like integers. It seems the `::text` cast appends always the netmask, e.g. `/32`. So I guess we still need `host()` for LIKE searches.
     13Actually the test introduced in commit f7467181aa56e30c946ff55190c49792d6e9a72f points out a problem, it can't be done exactly like integers. It seems the `::text` cast always appends the netmask, e.g. `/32`. So I guess we still need `host()` for LIKE searches.
Back to Top