updated pics
This commit is contained in:
parent
2718113e2f
commit
810e378c64
File diff suppressed because one or more lines are too long
|
@ -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
|
Loading…
Reference in New Issue