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