On Jul 5, 5:34 pm, Tom Evans <tevans...@googlemail.com> wrote: > from django.core.validators import validate_ipv4_address > ... > ip = models.IPAddressField(..., validators=[validate_ipv4_address])
This works perfectly, thank you. (Maybe worth a note in ref/models/ fields.html though?) Cheers, Brian. -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.