djangosnippets.org: Latest snippets tagged with 'ipy'https://djangosnippets.org/tags/ipy/2009-04-20T10:31:12.653189-05:00Tuned IPAddressField with IPv4 & IPv6 support using Postgres Network Field type
2009-04-20T10:31:12.653189-05:00illscihttps://djangosnippets.org/snippets/1453/<p>I wanted to store ipv4 and ipv6 ip's in django but I wanted to use the postgresql inet network field type:</p>
<p>http://www.postgresql.org/docs/8.3/static/datatype-net-types.html</p>
<p>and I wanted to use IPy.py IP objects in python. I followed these very helpful examples along with the django documentation:</p>
<p>http://vaig.be/2009/03/numeric-ip-field-for-django.html
http://www.djangosnippets.org/snippets/1381/</p>
<p>It took me awhile to …</p>
Freely redistributableTuned IPAddressField with IPv4 & IPv6 support
2009-03-20T15:21:59.705446-05:00divermanhttps://djangosnippets.org/snippets/1381/<p>Tuned IPAddressField with IPv4 & IPv6 support</p>
Freely redistributable