mirror of
https://github.com/pinry/pinry.git
synced 2025-11-13 16:45:41 +01:00
Refactor: Remove unused origin field from Pin
This commit is contained in:
@@ -84,9 +84,6 @@ class Board(models.Model):
|
||||
class Pin(models.Model):
|
||||
submitter = models.ForeignKey(User)
|
||||
url = models.CharField(null=True, blank=True, max_length=256)
|
||||
# origin is tha same as referer but not work,
|
||||
# should be removed some day
|
||||
origin = models.CharField(null=True, blank=True, max_length=256)
|
||||
referer = models.CharField(null=True, blank=True, max_length=256)
|
||||
description = models.TextField(blank=True, null=True)
|
||||
image = models.ForeignKey(Image, related_name='pin')
|
||||
|
||||
Reference in New Issue
Block a user