コード例 #1
0
 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)
コード例 #2
0
 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
ファイル: presentation.py プロジェクト: respec/urbanfootprint
 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
ファイル: medium.py プロジェクト: respec/UrbanFootprint
 def __unicode__(self):
     return "{0} {1}, url:{2}, content_type:{3}".format(Key.__unicode__(self),
                                                        Name.__unicode__(self), self.url, self.content_type)