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

14 lines
262 B
Python
Raw Normal View History

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