Add list view and admin for bookmarks

This commit is contained in:
2021-03-10 08:58:23 -06:00
parent 80a1048533
commit c9d0d81972
6 changed files with 36 additions and 5 deletions

View File

@@ -2,4 +2,7 @@ from django.db import models
class Bookmark(models.Model):
title = models.CharField(max_length=255,null=True)
url = models.URLField(max_length=2048)
url = models.URLField(max_length=2048)
def __str__(self):
return self.title