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