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)
示例#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)
示例#4
0
 def __unicode__(self):
     return "{0}, {1}".format(Name.__unicode__(self), ScopedKey.__unicode__(self))
示例#5
0
 def __unicode__(self):
     return "{0}, {1}".format(Name.__unicode__(self), ScopedKey.__unicode__(self))
示例#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)