backend/links/models.py

7 lines
157 B
Python
Raw Normal View History

2023-11-22 16:01:05 +03:00
from django.db import models
class Link(models.Model):
name = models.CharField(max_length=10, unique=True)
url = models.CharField(max_length=1024)