I have a django website containing a page with a listview. The list, created from a object-list in a for loop `{% for betr in object_list %}` contains a field with ip addresses like `<td>{{ betr.netmask }}</td>`. The data in the object list is provided as a string of numbers like `"123456789111"`.

What is the best way to display this as `123.456.789.111`.

Tried lambda or normal functions imported as utils, but always ran into errors.