Personally, I'm not convinced that it should be part of core Django, especially as only one of the supported databases covers it.
There seem to be some implementations about in the wild, though they don't appear to use the PG specific functionality. https://github.com/tubaman/django-macaddress http://djangosnippets.org/snippets/1337/ On 26 June 2013 16:13, Patryk Ściborek <pat...@sciborek.com> wrote: > Hi! > > I would like to ask you to reconsider addition of field representing MAC > address. There was similar ticket created 7 years ago: > https://code.djangoproject.com/ticket/2239 and it was closed with wontfix. > > I use Django in many projects and a lot of them are related to IP > networks. In many situations I need to deal with mac addresses (Ethernet > addresses in wired networks, wireless radio cards addresses, BSSIDs, radio > cards addresses in access points, Bluetooth addresses, etc). PostgreSQL > provides native support for macaddr data type: > http://www.postgresql.org/docs/9.1/static/datatype-net-types.html#DATATYPE-MACADDRin > other databases it can be represented as char(17). > > If you agree to add new field type I can prepare patch against current > code. > > Kind regards, > Patryk > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-developers+unsubscr...@googlegroups.com. > To post to this group, send email to django-developers@googlegroups.com. > Visit this group at http://groups.google.com/group/django-developers. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at http://groups.google.com/group/django-developers. For more options, visit https://groups.google.com/groups/opt_out.