Simple django app to display links
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
226 B

  1. from django.db import models
  2. # Create your models here.
  3. class Link(models.Model):
  4. friendly_name = models.CharField(max_length=40)
  5. url = models.CharField(max_length = 255)
  6. def __str__(self):
  7. return self.url