mirror of
https://github.com/pinry/pinry.git
synced 2025-11-15 17:35:50 +01:00
self.url is not always set, return required fields for pin
This commit is contained in:
@@ -46,4 +46,5 @@ class Pin(models.Model):
|
||||
tags = TaggableManager()
|
||||
|
||||
def __unicode__(self):
|
||||
return self.url
|
||||
return '%s - %s' % (self.submitter, self.published)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user