Commit 5b94f9b7 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Made more explicit url model unicode representations

parent 81ed5bd8
......@@ -21,7 +21,7 @@ class URL( models.Model ):
expires = models.DateTimeField( blank = True, null = True )
def __unicode__(self):
return '<URL: %s>' % self.short
return '<%s : %s>' % (self.owner.username, self.target)
class Meta:
ordering = ['short']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment