from django.db import models class Link(models.Model): name = models.CharField(max_length=10, unique=True) url = models.CharField(max_length=1024)