Ejemplo n.º 1
0
 def get_data(self, obj):
     return {
         'title': unicode(obj),
         'url': obj.get_absolute_url(),
     }
Ejemplo n.º 2
0
 def get_title(self, obj):
     return unicode(obj)
Ejemplo n.º 3
0
 def __unicode__(self):
     return unicode('%s related to %s ("%s")' % (self.parent, self.object, self.alias))
Ejemplo n.º 4
0
 def __unicode__(self):
     return unicode(u'%s related to %s ("%s")' %
                    (self.parent, self.object, self.alias))
Ejemplo n.º 5
0
 def get_data(self, obj):
     return {
         'title': unicode(obj),
         'url': obj.get_absolute_url(),
     }
Ejemplo n.º 6
0
 def get_title(self, obj):
     return unicode(obj)