ungleich-learning-circle/kjg/IPv6/ula/ularegistry/models.py

13 lines
262 B
Python

from django.db import models
from netfields import CidrAddressField, NetManager
# Create your models here.
class ips(models.Model):
inet = CidrAddressField()
objects = NetManager()
def __str__(self):
st = str(self.inet)
return st