updated pics

This commit is contained in:
ClF3 2024-04-29 14:12:41 +08:00
parent 2718113e2f
commit 810e378c64
2 changed files with 9 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,11 @@
from django.db import models from django.db import models
# Create your models here. # Create your models here.
class Picture(models.Model):
name = models.CharField(max_length=100)
description = models.TextField()
author = models.CharField(max_length=100)
original_url = models.URLField()
def __str__(self):
return self.title