def __unicode__(self):
     url = self.url_aerial or self.url_street
     if self.content:
         content_type = self.content.get_internal_type()
     else:
         content_type = '(none)'
     return "{0} {1}, url:{2}, content_type:{3}".format(
         Key.__unicode__(self), Name.__unicode__(self), url, content_type)
 def __unicode__(self):
     url = self.url_aerial or self.url_street
     if self.content:
         content_type = self.content.get_internal_type()
     else:
         content_type = '(none)'
     return "{0} {1}, url:{2}, content_type:{3}".format(
         Key.__unicode__(self),
         Name.__unicode__(self),
         url, content_type)
Example #3
0
 def __unicode__(self):
     return "{0} {1}, url:{2}, content_type:{3}".format(
         Key.__unicode__(self), Name.__unicode__(self), self.url,
         self.content_type)
Example #4
0
 def __unicode__(self):
     return "{0}, {1}".format(Name.__unicode__(self), ScopedKey.__unicode__(self))
Example #5
0
 def __unicode__(self):
     return "{0}, {1}".format(Name.__unicode__(self), ScopedKey.__unicode__(self))
Example #6
0
 def __unicode__(self):
     return "{0} {1}, url:{2}, content_type:{3}".format(Key.__unicode__(self),
                                                        Name.__unicode__(self), self.url, self.content_type)