Skip to content

I believe there's a typo on the front page / readme #53

@mikerosile

Description

@mikerosile

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions