code: def __unicode__(self):
      startchar = "{" if self.startexcl else "["
      endchar = "}" if self.endexcl else "]"
      start = "" if self.start is None else self.start
      end = "" if self.end is None else self.end
      return u("%s:%s%s TO %s%s") % (
          self.fieldname,
          startchar,
          start,
          end,
          endchar,
      )
  
imports: from __future__ import division
  from whoosh.compat import b, u
  from whoosh.query import qcore, terms, compound, wrappers
  from whoosh.util.times import datetime_to_long
label_desc: Use image node_id 2 for calling the RangeMixin obj's underlying member method code with example usage: obj.__unicode__() and returns: unknown