-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Description
On both the Git Repo page and PyPI page, the section that talks about the MACAddressField, I believe has a typo, as the given example references "CidrAddressField", and should probably be "MACAddressField". Excerpt follows:
MACAddressField will store values in PostgreSQL as type MACADDR. In Python, the value will be represented as a netaddr.EUI object. Note that the default text representation of EUI objects is not the same as that of the netaddr module. It is represented in a format that is more commonly used in network utilities and by network administrators (00:11:22:aa:bb:cc).
from netfields import CidrAddressField, NetManager
class Example(models.Model):
inet = CidrAddressField() #
Metadata
Metadata
Assignees
Labels
No labels