This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
pinry
mirror of
https://github.com/pinry/pinry.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
44
Wiki
Activity
Browse Source
self.url is not always set, return required fields for pin
1.x
Isaac Bythewood
7 years ago
parent
0f7bb8cf84
commit
af4e7437a3
1 changed files
with
2 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
pinry/core/models.py
+ 2
- 1
pinry/core/models.py
View File
@@ -46,4 +46,5 @@ class Pin(models.Model):
tags = TaggableManager()
tags = TaggableManager()
def __unicode__(self):
def __unicode__(self):
return self.url
return '%s - %s' % (self.submitter, self.published)
Write
Preview
Loading…
Cancel
Save