Hi, We use a lot of IP Adresses and Networks in FFSomething. Currently the default IPAdressField which works more or less good. To make it easier to work with IP Networks, i wan't to create a generic IP field type. Now my problem:
To make this field working on every database, i thought about this: the actuall column are one 128 bit integer and a 8 byte prefix column. The ip is saved as a 128 bit integer value + the perfix length in a second column. Using plain integer has advantages: - db sort works out of the box - inrange etc is easy math offloaded to the database I looked arround, but havn't found a example except the rather complicated ForeignKey stuff how to implement fields spanning two columns and overloading stuff. any tips welcome :) kindly regards daniel --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---