Browse Source

self.url is not always set, return required fields for pin

1.x
Isaac Bythewood 7 years ago
parent
commit
af4e7437a3
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pinry/core/models.py

+ 2
- 1
pinry/core/models.py View File

@@ -46,4 +46,5 @@ class Pin(models.Model):
tags = TaggableManager()

def __unicode__(self):
return self.url
return '%s - %s' % (self.submitter, self.published)


Loading…
Cancel
Save